(tag, pendingProps, key, mode)
| 6122 | // 5) It should be easy to port this to a C struct and keep a C implementation |
| 6123 | // compatible. |
| 6124 | var createFiber = function (tag, pendingProps, key, mode) { |
| 6125 | // $FlowFixMe: the shapes are exact here but Flow doesn't like constructors |
| 6126 | return new FiberNode(tag, pendingProps, key, mode); |
| 6127 | }; |
| 6128 | |
| 6129 | function shouldConstruct(Component) { |
| 6130 | return !!(Component.prototype && Component.prototype.isReactComponent); |
no outgoing calls
no test coverage detected