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

Function commitLayoutMountEffects_complete

dash/deps/react-dom@18.2.0.js:24689–24721  ·  view source on GitHub ↗
(subtreeRoot, root, committedLanes)

Source from the content-addressed store, hash-verified

24687 }
24688
24689 function commitLayoutMountEffects_complete(subtreeRoot, root, committedLanes) {
24690 while (nextEffect !== null) {
24691 var fiber = nextEffect;
24692
24693 if ((fiber.flags & LayoutMask) !== NoFlags) {
24694 var current = fiber.alternate;
24695 setCurrentFiber(fiber);
24696
24697 try {
24698 commitLayoutEffectOnFiber(root, current, fiber, committedLanes);
24699 } catch (error) {
24700 captureCommitPhaseError(fiber, fiber.return, error);
24701 }
24702
24703 resetCurrentFiber();
24704 }
24705
24706 if (fiber === subtreeRoot) {
24707 nextEffect = null;
24708 return;
24709 }
24710
24711 var sibling = fiber.sibling;
24712
24713 if (sibling !== null) {
24714 sibling.return = fiber.return;
24715 nextEffect = sibling;
24716 return;
24717 }
24718
24719 nextEffect = fiber.return;
24720 }
24721 }
24722
24723 function disappearLayoutEffects_begin(subtreeRoot) {
24724 while (nextEffect !== null) {

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…