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

Function performUnitOfWork

docs/index.js:14369–14373  ·  view source on GitHub ↗
(unitOfWork)

Source from the content-addressed store, hash-verified

14367 performUnitOfWork(workInProgress);
14368}
14369function performUnitOfWork(unitOfWork) {
14370 var next = beginWork(unitOfWork.alternate, unitOfWork, entangledRenderLanes);
14371 unitOfWork.memoizedProps = unitOfWork.pendingProps;
14372 null === next ? completeUnitOfWork(unitOfWork) : (workInProgress = next);
14373}
14374function replaySuspendedUnitOfWork(unitOfWork) {
14375 var next = unitOfWork;
14376 var current = next.alternate;

Callers 2

workLoopSyncFunction · 0.85
workLoopConcurrentFunction · 0.85

Calls 5

beginWorkFunction · 0.85
completeUnitOfWorkFunction · 0.85
startProfilerTimerFunction · 0.85
runWithFiberInDEVFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…