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

Function commitHookLayoutUnmountEffects

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

Source from the content-addressed store, hash-verified

29403 : commitHookEffectListMount(hookFlags, finishedWork);
29404 }
29405 function commitHookLayoutUnmountEffects(
29406 finishedWork,
29407 nearestMountedAncestor,
29408 hookFlags
29409 ) {
29410 shouldProfile(finishedWork)
29411 ? (startEffectTimer(),
29412 commitHookEffectListUnmount(
29413 hookFlags,
29414 finishedWork,
29415 nearestMountedAncestor
29416 ),
29417 recordEffectDuration())
29418 : commitHookEffectListUnmount(
29419 hookFlags,
29420 finishedWork,
29421 nearestMountedAncestor
29422 );
29423 }
29424 function commitHookEffectListMount(flags, finishedWork) {
29425 try {
29426 var updateQueue = finishedWork.updateQueue,

Callers 3

disappearLayoutEffectsFunction · 0.85

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…