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

Function cloneUpdateQueue

docs/index.js:10749–10759  ·  view source on GitHub ↗
(current, workInProgress)

Source from the content-addressed store, hash-verified

10747 };
10748}
10749function cloneUpdateQueue(current, workInProgress) {
10750 current = current.updateQueue;
10751 workInProgress.updateQueue === current &&
10752 (workInProgress.updateQueue = {
10753 baseState: current.baseState,
10754 firstBaseUpdate: current.firstBaseUpdate,
10755 lastBaseUpdate: current.lastBaseUpdate,
10756 shared: current.shared,
10757 callbacks: null
10758 });
10759}
10760function createUpdate(lane) {
10761 return { lane: lane, tag: 0, payload: null, callback: null, next: null };
10762}

Callers 2

updateClassComponentFunction · 0.85
beginWorkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…