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

Function commitLayoutMountEffects_complete

dash/deps/react-dom@18.3.1.js:24728–24760  ·  view source on GitHub ↗
(subtreeRoot, root, committedLanes)

Source from the content-addressed store, hash-verified

24726 }
24727
24728 function commitLayoutMountEffects_complete(subtreeRoot, root, committedLanes) {
24729 while (nextEffect !== null) {
24730 var fiber = nextEffect;
24731
24732 if ((fiber.flags & LayoutMask) !== NoFlags) {
24733 var current = fiber.alternate;
24734 setCurrentFiber(fiber);
24735
24736 try {
24737 commitLayoutEffectOnFiber(root, current, fiber, committedLanes);
24738 } catch (error) {
24739 captureCommitPhaseError(fiber, fiber.return, error);
24740 }
24741
24742 resetCurrentFiber();
24743 }
24744
24745 if (fiber === subtreeRoot) {
24746 nextEffect = null;
24747 return;
24748 }
24749
24750 var sibling = fiber.sibling;
24751
24752 if (sibling !== null) {
24753 sibling.return = fiber.return;
24754 nextEffect = sibling;
24755 return;
24756 }
24757
24758 nextEffect = fiber.return;
24759 }
24760 }
24761
24762 function disappearLayoutEffects_begin(subtreeRoot) {
24763 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…