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

Function enqueueRenderPhaseUpdate

dash/deps/react-dom@18.3.1.js:16731–16747  ·  view source on GitHub ↗
(queue, update)

Source from the content-addressed store, hash-verified

16729 }
16730
16731 function enqueueRenderPhaseUpdate(queue, update) {
16732 // This is a render phase update. Stash it in a lazily-created map of
16733 // queue -> linked list of updates. After this render pass, we'll restart
16734 // and apply the stashed updates on top of the work-in-progress hook.
16735 didScheduleRenderPhaseUpdateDuringThisPass = didScheduleRenderPhaseUpdate = true;
16736 var pending = queue.pending;
16737
16738 if (pending === null) {
16739 // This is the first update. Create a circular list.
16740 update.next = update;
16741 } else {
16742 update.next = pending.next;
16743 pending.next = update;
16744 }
16745
16746 queue.pending = update;
16747 } // TODO: Move to ReactFiberConcurrentUpdates?
16748
16749
16750 function entangleTransitionUpdate(root, queue, lane) {

Callers 2

dispatchReducerActionFunction · 0.70
dispatchSetStateFunction · 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…