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

Function reappearLayoutEffects_complete

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

Source from the content-addressed store, hash-verified

24878 }
24879
24880 function reappearLayoutEffects_complete(subtreeRoot) {
24881 while (nextEffect !== null) {
24882 var fiber = nextEffect; // TODO (Offscreen) Check: flags & LayoutStatic
24883
24884 setCurrentFiber(fiber);
24885
24886 try {
24887 reappearLayoutEffectsOnFiber(fiber);
24888 } catch (error) {
24889 captureCommitPhaseError(fiber, fiber.return, error);
24890 }
24891
24892 resetCurrentFiber();
24893
24894 if (fiber === subtreeRoot) {
24895 nextEffect = null;
24896 return;
24897 }
24898
24899 var sibling = fiber.sibling;
24900
24901 if (sibling !== null) {
24902 // This node may have been reused from a previous render, so we can't
24903 // assume its return pointer is correct.
24904 sibling.return = fiber.return;
24905 nextEffect = sibling;
24906 return;
24907 }
24908
24909 nextEffect = fiber.return;
24910 }
24911 }
24912
24913 function commitPassiveMountEffects(root, finishedWork, committedLanes, committedTransitions) {
24914 nextEffect = finishedWork;

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…