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

Function commitPassiveUnmountEffects_complete

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

Source from the content-addressed store, hash-verified

25048 }
25049
25050 function commitPassiveUnmountEffects_complete() {
25051 while (nextEffect !== null) {
25052 var fiber = nextEffect;
25053
25054 if ((fiber.flags & Passive) !== NoFlags) {
25055 setCurrentFiber(fiber);
25056 commitPassiveUnmountOnFiber(fiber);
25057 resetCurrentFiber();
25058 }
25059
25060 var sibling = fiber.sibling;
25061
25062 if (sibling !== null) {
25063 sibling.return = fiber.return;
25064 nextEffect = sibling;
25065 return;
25066 }
25067
25068 nextEffect = fiber.return;
25069 }
25070 }
25071
25072 function commitPassiveUnmountOnFiber(finishedWork) {
25073 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…