MCPcopy Index your code
hub / github.com/microsoft/SandDance / createFiber

Function createFiber

docs/external/js/react-dom.development.js:23797–23800  ·  view source on GitHub ↗
(tag, pendingProps, key, mode)

Source from the content-addressed store, hash-verified

23795
23796
23797 var createFiber = function (tag, pendingProps, key, mode) {
23798 // $FlowFixMe: the shapes are exact here but Flow doesn't like constructors
23799 return new FiberNode(tag, pendingProps, key, mode);
23800 };
23801
23802 function shouldConstruct(Component) {
23803 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