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

Function enqueueUpdate

docs/index.js:10763–10779  ·  view source on GitHub ↗
(fiber, update, lane)

Source from the content-addressed store, hash-verified

10761 return { lane: lane, tag: 0, payload: null, callback: null, next: null };
10762}
10763function enqueueUpdate(fiber, update, lane) {
10764 var updateQueue = fiber.updateQueue;
10765 if (null === updateQueue) return null;
10766 updateQueue = updateQueue.shared;
10767 if (0 !== (executionContext & 2)) {
10768 var pending = updateQueue.pending;
10769 null === pending
10770 ? (update.next = update)
10771 : ((update.next = pending.next), (pending.next = update));
10772 updateQueue.pending = update;
10773 update = getRootForUpdatedFiber(fiber);
10774 markUpdateLaneFromFiberToRoot(fiber, null, lane);
10775 return update;
10776 }
10777 enqueueUpdate$1(fiber, updateQueue, update, lane);
10778 return getRootForUpdatedFiber(fiber);
10779}
10780function entangleTransitions(root, fiber, lane) {
10781 fiber = fiber.updateQueue;
10782 if (null !== fiber && ((fiber = fiber.shared), 0 !== (lane & 4194176))) {

Callers 5

refreshCacheFunction · 0.85
index.jsFile · 0.85
captureCommitPhaseErrorFunction · 0.85
updateContainerImplFunction · 0.85

Calls 4

getRootForUpdatedFiberFunction · 0.85
enqueueUpdate$1Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…