popComponentEffectStart() — react Function Reference
Architecture documentation for the popComponentEffectStart() function in ReactProfilerTimer.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD ff9409a2_b556_06af_85c9_ee748a528d80["popComponentEffectStart()"] e054b9c7_41f1_c7f7_97bb_98b6a445e94b["ReactProfilerTimer.js"] ff9409a2_b556_06af_85c9_ee748a528d80 -->|defined in| e054b9c7_41f1_c7f7_97bb_98b6a445e94b ce61aa22_42d2_811a_b317_96c8d0cb0321["commitLayoutEffectOnFiber()"] ce61aa22_42d2_811a_b317_96c8d0cb0321 -->|calls| ff9409a2_b556_06af_85c9_ee748a528d80 13f145c1_d686_f120_13ad_212f75386c29["commitDeletionEffects()"] 13f145c1_d686_f120_13ad_212f75386c29 -->|calls| ff9409a2_b556_06af_85c9_ee748a528d80 5af9a16a_ed89_d37e_b847_bcb6a2805eae["commitDeletionEffectsOnFiber()"] 5af9a16a_ed89_d37e_b847_bcb6a2805eae -->|calls| ff9409a2_b556_06af_85c9_ee748a528d80 38cb51c8_1ba3_adb6_6b57_5b5853e89841["disappearLayoutEffects()"] 38cb51c8_1ba3_adb6_6b57_5b5853e89841 -->|calls| ff9409a2_b556_06af_85c9_ee748a528d80 1846396a_6bcb_7ad4_8180_1d20ef2960a4["reappearLayoutEffects()"] 1846396a_6bcb_7ad4_8180_1d20ef2960a4 -->|calls| ff9409a2_b556_06af_85c9_ee748a528d80 07f3c6d9_2fce_51ae_4408_e0d4ab7359a1["commitPassiveMountOnFiber()"] 07f3c6d9_2fce_51ae_4408_e0d4ab7359a1 -->|calls| ff9409a2_b556_06af_85c9_ee748a528d80 e3c426a6_d017_fba5_0e94_3a1169983c80["recursivelyTraversePassiveUnmountEffects()"] e3c426a6_d017_fba5_0e94_3a1169983c80 -->|calls| ff9409a2_b556_06af_85c9_ee748a528d80 19b7647a_1cb8_04c7_c5f0_d84f212da7c7["commitPassiveUnmountInsideDeletedTreeOnFiber()"] 19b7647a_1cb8_04c7_c5f0_d84f212da7c7 -->|calls| ff9409a2_b556_06af_85c9_ee748a528d80 style ff9409a2_b556_06af_85c9_ee748a528d80 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/react-reconciler/src/ReactProfilerTimer.js lines 453–462
export function popComponentEffectStart(prevEffectStart: number): void {
if (!enableProfilerTimer || !enableProfilerCommitHooks) {
return;
}
// If the parent component didn't have a start time, we let this current time persist.
if (prevEffectStart >= 0) {
// Otherwise, we restore the previous parent's start time.
componentEffectStartTime = prevEffectStart;
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does popComponentEffectStart() do?
popComponentEffectStart() is a function in the react codebase, defined in packages/react-reconciler/src/ReactProfilerTimer.js.
Where is popComponentEffectStart() defined?
popComponentEffectStart() is defined in packages/react-reconciler/src/ReactProfilerTimer.js at line 453.
What calls popComponentEffectStart()?
popComponentEffectStart() is called by 8 function(s): commitDeletionEffects, commitDeletionEffectsOnFiber, commitLayoutEffectOnFiber, commitPassiveMountOnFiber, commitPassiveUnmountInsideDeletedTreeOnFiber, disappearLayoutEffects, reappearLayoutEffects, recursivelyTraversePassiveUnmountEffects.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free