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

Function enqueueConcurrentHookUpdate

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

Source from the content-addressed store, hash-verified

13336 }
13337 }
13338 function enqueueConcurrentHookUpdate(fiber, queue, update, lane) {
13339 var interleaved = queue.interleaved;
13340
13341 if (interleaved === null) {
13342 // This is the first update. Create a circular list.
13343 update.next = update; // At the end of the current render, this queue's interleaved updates will
13344 // be transferred to the pending queue.
13345
13346 pushConcurrentUpdateQueue(queue);
13347 } else {
13348 update.next = interleaved.next;
13349 interleaved.next = update;
13350 }
13351
13352 queue.interleaved = update;
13353 return markUpdateLaneFromFiberToRoot(fiber, lane);
13354 }
13355 function enqueueConcurrentHookUpdateAndEagerlyBailout(fiber, queue, update, lane) {
13356 var interleaved = queue.interleaved;
13357

Callers 2

dispatchReducerActionFunction · 0.70
dispatchSetStateFunction · 0.70

Calls 2

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…