MCPcopy Create free account
hub / github.com/plotly/dash / createFiber

Function createFiber

dash/deps/react-dom@18.3.1.js:28162–28165  ·  view source on GitHub ↗
(tag, pendingProps, key, mode)

Source from the content-addressed store, hash-verified

28160
28161
28162 var createFiber = function (tag, pendingProps, key, mode) {
28163 // $FlowFixMe: the shapes are exact here but Flow doesn't like constructors
28164 return new FiberNode(tag, pendingProps, key, mode);
28165 };
28166
28167 function shouldConstruct$1(Component) {
28168 var prototype = Component.prototype;

Callers 13

createWorkInProgressFunction · 0.70
createHostRootFiberFunction · 0.70
createFiberFromFragmentFunction · 0.70
createFiberFromProfilerFunction · 0.70
createFiberFromSuspenseFunction · 0.70
createFiberFromOffscreenFunction · 0.70
createFiberFromTextFunction · 0.70
createFiberFromPortalFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…