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

Function commitUpdateQueue

dash/deps/react-dom@18.3.1.js:15055–15071  ·  view source on GitHub ↗
(finishedWork, finishedQueue, instance)

Source from the content-addressed store, hash-verified

15053 return hasForceUpdate;
15054 }
15055 function commitUpdateQueue(finishedWork, finishedQueue, instance) {
15056 // Commit the effects
15057 var effects = finishedQueue.effects;
15058 finishedQueue.effects = null;
15059
15060 if (effects !== null) {
15061 for (var i = 0; i < effects.length; i++) {
15062 var effect = effects[i];
15063 var callback = effect.callback;
15064
15065 if (callback !== null) {
15066 effect.callback = null;
15067 callCallback(callback, instance);
15068 }
15069 }
15070 }
15071 }
15072
15073 var NO_CONTEXT = {};
15074 var contextStackCursor$1 = createCursor(NO_CONTEXT);

Callers 1

Calls 1

callCallbackFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…