(tag, pendingProps, key, mode)
| 7140 | // 5) It should be easy to port this to a C struct and keep a C implementation |
| 7141 | // compatible. |
| 7142 | var createFiber = function (tag, pendingProps, key, mode) { |
| 7143 | // $FlowFixMe: the shapes are exact here but Flow doesn't like constructors |
| 7144 | return new FiberNode(tag, pendingProps, key, mode); |
| 7145 | }; |
| 7146 | |
| 7147 | function shouldConstruct(Component) { |
| 7148 | return !!(Component.prototype && Component.prototype.isReactComponent); |
no outgoing calls
no test coverage detected