(tag, pendingProps, key, mode)
| 6883 | // 5) It should be easy to port this to a C struct and keep a C implementation |
| 6884 | // compatible. |
| 6885 | var createFiber = function (tag, pendingProps, key, mode) { |
| 6886 | // $FlowFixMe: the shapes are exact here but Flow doesn't like constructors |
| 6887 | return new FiberNode(tag, pendingProps, key, mode); |
| 6888 | }; |
| 6889 | |
| 6890 | function shouldConstruct(Component) { |
| 6891 | return !!(Component.prototype && Component.prototype.isReactComponent); |
no outgoing calls
no test coverage detected