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