MCPcopy
hub / github.com/plotly/dash / commitBeforeMutationEffects

Function commitBeforeMutationEffects

dash/deps/react-dom@18.2.0.js:22950–22959  ·  view source on GitHub ↗
(root, firstChild)

Source from the content-addressed store, hash-verified

22948 var focusedInstanceHandle = null;
22949 var shouldFireAfterActiveInstanceBlur = false;
22950 function commitBeforeMutationEffects(root, firstChild) {
22951 focusedInstanceHandle = prepareForCommit(root.containerInfo);
22952 nextEffect = firstChild;
22953 commitBeforeMutationEffects_begin(); // We no longer need to track the active instance fiber
22954
22955 var shouldFire = shouldFireAfterActiveInstanceBlur;
22956 shouldFireAfterActiveInstanceBlur = false;
22957 focusedInstanceHandle = null;
22958 return shouldFire;
22959 }
22960
22961 function commitBeforeMutationEffects_begin() {
22962 while (nextEffect !== null) {

Callers 1

commitRootImplFunction · 0.70

Calls 2

prepareForCommitFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…