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

Function commitPassiveMountEffects_complete

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

Source from the content-addressed store, hash-verified

24891 }
24892
24893 function commitPassiveMountEffects_complete(subtreeRoot, root, committedLanes, committedTransitions) {
24894 while (nextEffect !== null) {
24895 var fiber = nextEffect;
24896
24897 if ((fiber.flags & Passive) !== NoFlags) {
24898 setCurrentFiber(fiber);
24899
24900 try {
24901 commitPassiveMountOnFiber(root, fiber, committedLanes, committedTransitions);
24902 } catch (error) {
24903 captureCommitPhaseError(fiber, fiber.return, error);
24904 }
24905
24906 resetCurrentFiber();
24907 }
24908
24909 if (fiber === subtreeRoot) {
24910 nextEffect = null;
24911 return;
24912 }
24913
24914 var sibling = fiber.sibling;
24915
24916 if (sibling !== null) {
24917 sibling.return = fiber.return;
24918 nextEffect = sibling;
24919 return;
24920 }
24921
24922 nextEffect = fiber.return;
24923 }
24924 }
24925
24926 function commitPassiveMountOnFiber(finishedRoot, finishedWork, committedLanes, committedTransitions) {
24927 switch (finishedWork.tag) {

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…