(tag, pendingProps, key, mode)
| 6762 | // 5) It should be easy to port this to a C struct and keep a C implementation |
| 6763 | // compatible. |
| 6764 | var createFiber = function (tag, pendingProps, key, mode) { |
| 6765 | // $FlowFixMe: the shapes are exact here but Flow doesn't like constructors |
| 6766 | return new FiberNode(tag, pendingProps, key, mode); |
| 6767 | }; |
| 6768 | |
| 6769 | function shouldConstruct(Component) { |
| 6770 | return !!(Component.prototype && Component.prototype.isReactComponent); |
no outgoing calls
no test coverage detected