MCPcopy Index your code
hub / github.com/caseywebdev/react-list / scheduleUpdateOnFiber

Function scheduleUpdateOnFiber

docs/index.js:13762–13787  ·  view source on GitHub ↗
(root, fiber, lane)

Source from the content-addressed store, hash-verified

13760 return workInProgressDeferredLane;
13761}
13762function scheduleUpdateOnFiber(root, fiber, lane) {
13763 if (
13764 (root === workInProgressRoot && 2 === workInProgressSuspendedReason) ||
13765 null !== root.cancelPendingCommit
13766 )
13767 prepareFreshStack(root, 0),
13768 markRootSuspended(
13769 root,
13770 workInProgressRootRenderLanes,
13771 workInProgressDeferredLane,
13772 !1
13773 );
13774 markRootUpdated$1(root, lane);
13775 if (0 === (executionContext & 2) || root !== workInProgressRoot)
13776 root === workInProgressRoot &&
13777 (0 === (executionContext & 2) &&
13778 (workInProgressRootInterleavedUpdatedLanes |= lane),
13779 4 === workInProgressRootExitStatus &&
13780 markRootSuspended(
13781 root,
13782 workInProgressRootRenderLanes,
13783 workInProgressDeferredLane,
13784 !1
13785 )),
13786 ensureRootIsScheduled(root);
13787}
13788function performWorkOnRoot(root$jscomp$0, lanes, forceSync) {
13789 if (0 !== (executionContext & 6)) throw Error(formatProdErrorMessage(327));
13790 var shouldTimeSlice =

Callers 13

forceStoreRerenderFunction · 0.85
refreshCacheFunction · 0.85
dispatchReducerActionFunction · 0.85
dispatchSetStateInternalFunction · 0.85
index.jsFile · 0.85
updateSuspenseComponentFunction · 0.85
createFiberFromOffscreenFunction · 0.85
updateContainerImplFunction · 0.85
dispatchEventFunction · 0.85

Calls 7

prepareFreshStackFunction · 0.85
markRootSuspendedFunction · 0.85
markRootUpdated$1Function · 0.85
ensureRootIsScheduledFunction · 0.85
addFiberToLanesMapFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…