MCPcopy Create free account
hub / github.com/reactjs/react-rails / createFiber

Function createFiber

lib/assets/react-source/development/react.js:27357–27360  ·  view source on GitHub ↗
(tag, pendingProps, key, mode)

Source from the content-addressed store, hash-verified

27355
27356
27357 var createFiber = function (tag, pendingProps, key, mode) {
27358 // $FlowFixMe: the shapes are exact here but Flow doesn't like constructors
27359 return new FiberNode(tag, pendingProps, key, mode);
27360 };
27361
27362 function shouldConstruct(Component) {
27363 var prototype = Component.prototype;

Callers 11

createWorkInProgressFunction · 0.85
createHostRootFiberFunction · 0.85
createFiberFromFragmentFunction · 0.85
createFiberFromProfilerFunction · 0.85
createFiberFromSuspenseFunction · 0.85
createFiberFromTextFunction · 0.85
createFiberFromPortalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected