MCPcopy Index your code
hub / github.com/plotly/dash / cloneUpdateQueue

Function cloneUpdateQueue

dash/deps/react-dom@18.2.0.js:13470–13485  ·  view source on GitHub ↗
(current, workInProgress)

Source from the content-addressed store, hash-verified

13468 fiber.updateQueue = queue;
13469 }
13470 function cloneUpdateQueue(current, workInProgress) {
13471 // Clone the update queue from current. Unless it's already a clone.
13472 var queue = workInProgress.updateQueue;
13473 var currentQueue = current.updateQueue;
13474
13475 if (queue === currentQueue) {
13476 var clone = {
13477 baseState: currentQueue.baseState,
13478 firstBaseUpdate: currentQueue.firstBaseUpdate,
13479 lastBaseUpdate: currentQueue.lastBaseUpdate,
13480 shared: currentQueue.shared,
13481 effects: currentQueue.effects
13482 };
13483 workInProgress.updateQueue = clone;
13484 }
13485 }
13486 function createUpdate(eventTime, lane) {
13487 var update = {
13488 eventTime: eventTime,

Callers 2

updateClassInstanceFunction · 0.70
updateHostRootFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…