(tag, pendingProps, key, mode)
| 6924 | // 5) It should be easy to port this to a C struct and keep a C implementation |
| 6925 | // compatible. |
| 6926 | var createFiber = function (tag, pendingProps, key, mode) { |
| 6927 | // $FlowFixMe: the shapes are exact here but Flow doesn't like constructors |
| 6928 | return new FiberNode(tag, pendingProps, key, mode); |
| 6929 | }; |
| 6930 | |
| 6931 | function shouldConstruct(Component) { |
| 6932 | return !!(Component.prototype && Component.prototype.isReactComponent); |
no outgoing calls
no test coverage detected