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

Function commitBeforeMutationEffects_complete

dash/deps/react-dom@18.2.0.js:22976–22998  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22974 }
22975
22976 function commitBeforeMutationEffects_complete() {
22977 while (nextEffect !== null) {
22978 var fiber = nextEffect;
22979 setCurrentFiber(fiber);
22980
22981 try {
22982 commitBeforeMutationEffectsOnFiber(fiber);
22983 } catch (error) {
22984 captureCommitPhaseError(fiber, fiber.return, error);
22985 }
22986
22987 resetCurrentFiber();
22988 var sibling = fiber.sibling;
22989
22990 if (sibling !== null) {
22991 sibling.return = fiber.return;
22992 nextEffect = sibling;
22993 return;
22994 }
22995
22996 nextEffect = fiber.return;
22997 }
22998 }
22999
23000 function commitBeforeMutationEffectsOnFiber(finishedWork) {
23001 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…