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

Function commitPassiveUnmountOnFiber

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

Source from the content-addressed store, hash-verified

25031 }
25032
25033 function commitPassiveUnmountOnFiber(finishedWork) {
25034 switch (finishedWork.tag) {
25035 case FunctionComponent:
25036 case ForwardRef:
25037 case SimpleMemoComponent:
25038 {
25039 if ( finishedWork.mode & ProfileMode) {
25040 startPassiveEffectTimer();
25041 commitHookEffectListUnmount(Passive$1 | HasEffect, finishedWork, finishedWork.return);
25042 recordPassiveEffectDuration(finishedWork);
25043 } else {
25044 commitHookEffectListUnmount(Passive$1 | HasEffect, finishedWork, finishedWork.return);
25045 }
25046
25047 break;
25048 }
25049 }
25050 }
25051
25052 function commitPassiveUnmountEffectsInsideOfDeletedTree_begin(deletedSubtreeRoot, nearestMountedAncestor) {
25053 while (nextEffect !== null) {

Callers 1

Calls 3

startPassiveEffectTimerFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…