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

Function commitPassiveMountEffects_complete

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

Source from the content-addressed store, hash-verified

24930 }
24931
24932 function commitPassiveMountEffects_complete(subtreeRoot, root, committedLanes, committedTransitions) {
24933 while (nextEffect !== null) {
24934 var fiber = nextEffect;
24935
24936 if ((fiber.flags & Passive) !== NoFlags) {
24937 setCurrentFiber(fiber);
24938
24939 try {
24940 commitPassiveMountOnFiber(root, fiber, committedLanes, committedTransitions);
24941 } catch (error) {
24942 captureCommitPhaseError(fiber, fiber.return, error);
24943 }
24944
24945 resetCurrentFiber();
24946 }
24947
24948 if (fiber === subtreeRoot) {
24949 nextEffect = null;
24950 return;
24951 }
24952
24953 var sibling = fiber.sibling;
24954
24955 if (sibling !== null) {
24956 sibling.return = fiber.return;
24957 nextEffect = sibling;
24958 return;
24959 }
24960
24961 nextEffect = fiber.return;
24962 }
24963 }
24964
24965 function commitPassiveMountOnFiber(finishedRoot, finishedWork, committedLanes, committedTransitions) {
24966 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…