MCPcopy Create free account
hub / github.com/caseywebdev/react-list / commitHookPassiveMountEffects

Function commitHookPassiveMountEffects

docs/index.js:29568–29574  ·  view source on GitHub ↗
(finishedWork, hookFlags)

Source from the content-addressed store, hash-verified

29566 }
29567 }
29568 function commitHookPassiveMountEffects(finishedWork, hookFlags) {
29569 shouldProfile(finishedWork)
29570 ? (startEffectTimer(),
29571 commitHookEffectListMount(hookFlags, finishedWork),
29572 recordEffectDuration())
29573 : commitHookEffectListMount(hookFlags, finishedWork);
29574 }
29575 function commitHookPassiveUnmountEffects(
29576 finishedWork,
29577 nearestMountedAncestor,

Callers 2

reconnectPassiveEffectsFunction · 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…