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

Function commitBeforeMutationEffects_complete

dash/deps/react-dom@18.3.1.js:23015–23037  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23013 }
23014
23015 function commitBeforeMutationEffects_complete() {
23016 while (nextEffect !== null) {
23017 var fiber = nextEffect;
23018 setCurrentFiber(fiber);
23019
23020 try {
23021 commitBeforeMutationEffectsOnFiber(fiber);
23022 } catch (error) {
23023 captureCommitPhaseError(fiber, fiber.return, error);
23024 }
23025
23026 resetCurrentFiber();
23027 var sibling = fiber.sibling;
23028
23029 if (sibling !== null) {
23030 sibling.return = fiber.return;
23031 nextEffect = sibling;
23032 return;
23033 }
23034
23035 nextEffect = fiber.return;
23036 }
23037 }
23038
23039 function commitBeforeMutationEffectsOnFiber(finishedWork) {
23040 var current = finishedWork.alternate;

Callers 1

Calls 4

setCurrentFiberFunction · 0.70
captureCommitPhaseErrorFunction · 0.70
resetCurrentFiberFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…