(tag, pendingProps, key, mode)
| 7027 | // 5) It should be easy to port this to a C struct and keep a C implementation |
| 7028 | // compatible. |
| 7029 | var createFiber = function (tag, pendingProps, key, mode) { |
| 7030 | // $FlowFixMe: the shapes are exact here but Flow doesn't like constructors |
| 7031 | return new FiberNode(tag, pendingProps, key, mode); |
| 7032 | }; |
| 7033 | |
| 7034 | function shouldConstruct(Component) { |
| 7035 | return !!(Component.prototype && Component.prototype.isReactComponent); |
no outgoing calls
no test coverage detected