MCPcopy Index your code
hub / github.com/caseywebdev/react-list / commitHookPassiveUnmountEffects

Function commitHookPassiveUnmountEffects

docs/index.js:29575–29593  ·  view source on GitHub ↗
(
      finishedWork,
      nearestMountedAncestor,
      hookFlags
    )

Source from the content-addressed store, hash-verified

29573 : commitHookEffectListMount(hookFlags, finishedWork);
29574 }
29575 function commitHookPassiveUnmountEffects(
29576 finishedWork,
29577 nearestMountedAncestor,
29578 hookFlags
29579 ) {
29580 shouldProfile(finishedWork)
29581 ? (startEffectTimer(),
29582 commitHookEffectListUnmount(
29583 hookFlags,
29584 finishedWork,
29585 nearestMountedAncestor
29586 ),
29587 recordEffectDuration())
29588 : commitHookEffectListUnmount(
29589 hookFlags,
29590 finishedWork,
29591 nearestMountedAncestor
29592 );
29593 }
29594 function commitClassCallbacks(finishedWork) {
29595 var updateQueue = finishedWork.updateQueue;
29596 if (null !== updateQueue) {

Calls 4

shouldProfileFunction · 0.85
startEffectTimerFunction · 0.85
recordEffectDurationFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…