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

Function enqueueConcurrentClassUpdate

dash/deps/react-dom@18.3.1.js:14484–14500  ·  view source on GitHub ↗
(fiber, queue, update, lane)

Source from the content-addressed store, hash-verified

14482 queue.interleaved = update;
14483 }
14484 function enqueueConcurrentClassUpdate(fiber, queue, update, lane) {
14485 var interleaved = queue.interleaved;
14486
14487 if (interleaved === null) {
14488 // This is the first update. Create a circular list.
14489 update.next = update; // At the end of the current render, this queue's interleaved updates will
14490 // be transferred to the pending queue.
14491
14492 pushConcurrentUpdateQueue(queue);
14493 } else {
14494 update.next = interleaved.next;
14495 interleaved.next = update;
14496 }
14497
14498 queue.interleaved = update;
14499 return markUpdateLaneFromFiberToRoot(fiber, lane);
14500 }
14501 function enqueueConcurrentRenderForLane(fiber, lane) {
14502 return markUpdateLaneFromFiberToRoot(fiber, lane);
14503 } // Calling this function outside this module should only be done for backwards

Callers 1

enqueueUpdateFunction · 0.70

Calls 2

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…