MCPcopy Index your code
hub / github.com/microsoft/SandDance / commitUpdateQueue

Function commitUpdateQueue

docs/external/js/react-dom.development.js:12634–12650  ·  view source on GitHub ↗
(finishedWork, finishedQueue, instance)

Source from the content-addressed store, hash-verified

12632 return hasForceUpdate;
12633 }
12634 function commitUpdateQueue(finishedWork, finishedQueue, instance) {
12635 // Commit the effects
12636 var effects = finishedQueue.effects;
12637 finishedQueue.effects = null;
12638
12639 if (effects !== null) {
12640 for (var i = 0; i < effects.length; i++) {
12641 var effect = effects[i];
12642 var callback = effect.callback;
12643
12644 if (callback !== null) {
12645 effect.callback = null;
12646 callCallback(callback, instance);
12647 }
12648 }
12649 }
12650 }
12651
12652 var ReactCurrentBatchConfig = ReactSharedInternals.ReactCurrentBatchConfig;
12653 function requestCurrentSuspenseConfig() {

Callers 1

commitLifeCyclesFunction · 0.85

Calls 1

callCallbackFunction · 0.85

Tested by

no test coverage detected