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

Function commitPassiveUnmountEffects_complete

dash/deps/react-dom@18.2.0.js:25011–25031  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25009 }
25010
25011 function commitPassiveUnmountEffects_complete() {
25012 while (nextEffect !== null) {
25013 var fiber = nextEffect;
25014
25015 if ((fiber.flags & Passive) !== NoFlags) {
25016 setCurrentFiber(fiber);
25017 commitPassiveUnmountOnFiber(fiber);
25018 resetCurrentFiber();
25019 }
25020
25021 var sibling = fiber.sibling;
25022
25023 if (sibling !== null) {
25024 sibling.return = fiber.return;
25025 nextEffect = sibling;
25026 return;
25027 }
25028
25029 nextEffect = fiber.return;
25030 }
25031 }
25032
25033 function commitPassiveUnmountOnFiber(finishedWork) {
25034 switch (finishedWork.tag) {

Callers 1

Calls 3

setCurrentFiberFunction · 0.70
resetCurrentFiberFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…