MCPcopy Create free account
hub / github.com/danielstocks/react-sortable / performDeferredWork

Function performDeferredWork

bundle.js:7800–7800  ·  view source on GitHub ↗
(deadline)

Source from the content-addressed store, hash-verified

7798var current=workInProgress.alternate;// See if beginning this work spawns more work.
7799{startWorkTimer(workInProgress);}var next=beginFailedWork(current,workInProgress,nextPriorityLevel);if(true&&ReactFiberInstrumentation$1.debugTool){ReactFiberInstrumentation$1.debugTool.onBeginWork(workInProgress);}if(next===null){// If this doesn't spawn new work, complete the current work.
7800next=completeUnitOfWork(workInProgress);}ReactCurrentOwner$1.current=null;{ReactDebugCurrentFiber$3.resetCurrentFiber();}return next;}function performDeferredWork(deadline){performWork(OffscreenPriority,deadline);}function handleCommitPhaseErrors(){// This is a special work loop for handling commit phase errors. It's
7801// similar to the syncrhonous work loop, but does an additional check on
7802// each fiber to see if it's an error boundary with an unhandled error. If
7803// so, it uses a forked version of performUnitOfWork that unmounts the

Callers

nothing calls this directly

Calls 1

performWorkFunction · 0.85

Tested by

no test coverage detected