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

Function commitUpdateQueue

dash/deps/react-dom@18.2.0.js:13942–13958  ·  view source on GitHub ↗
(finishedWork, finishedQueue, instance)

Source from the content-addressed store, hash-verified

13940 return hasForceUpdate;
13941 }
13942 function commitUpdateQueue(finishedWork, finishedQueue, instance) {
13943 // Commit the effects
13944 var effects = finishedQueue.effects;
13945 finishedQueue.effects = null;
13946
13947 if (effects !== null) {
13948 for (var i = 0; i < effects.length; i++) {
13949 var effect = effects[i];
13950 var callback = effect.callback;
13951
13952 if (callback !== null) {
13953 effect.callback = null;
13954 callCallback(callback, instance);
13955 }
13956 }
13957 }
13958 }
13959
13960 var fakeInternalInstance = {}; // React.Component uses a shared frozen object by default.
13961 // We'll use it to determine whether we need to initialize legacy refs.

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…