(tag, pendingProps, key, mode)
| 6250 | // 5) It should be easy to port this to a C struct and keep a C implementation |
| 6251 | // compatible. |
| 6252 | var createFiber = function (tag, pendingProps, key, mode) { |
| 6253 | // $FlowFixMe: the shapes are exact here but Flow doesn't like constructors |
| 6254 | return new FiberNode(tag, pendingProps, key, mode); |
| 6255 | }; |
| 6256 | |
| 6257 | function shouldConstruct(Component) { |
| 6258 | return !!(Component.prototype && Component.prototype.isReactComponent); |
no outgoing calls
no test coverage detected