pushComponentEffectStart() — react Function Reference
Architecture documentation for the pushComponentEffectStart() function in ReactProfilerTimer.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD 4f76ed87_f151_2295_8bb4_c7b5dfe010a2["pushComponentEffectStart()"] e054b9c7_41f1_c7f7_97bb_98b6a445e94b["ReactProfilerTimer.js"] 4f76ed87_f151_2295_8bb4_c7b5dfe010a2 -->|defined in| e054b9c7_41f1_c7f7_97bb_98b6a445e94b ce61aa22_42d2_811a_b317_96c8d0cb0321["commitLayoutEffectOnFiber()"] ce61aa22_42d2_811a_b317_96c8d0cb0321 -->|calls| 4f76ed87_f151_2295_8bb4_c7b5dfe010a2 13f145c1_d686_f120_13ad_212f75386c29["commitDeletionEffects()"] 13f145c1_d686_f120_13ad_212f75386c29 -->|calls| 4f76ed87_f151_2295_8bb4_c7b5dfe010a2 5af9a16a_ed89_d37e_b847_bcb6a2805eae["commitDeletionEffectsOnFiber()"] 5af9a16a_ed89_d37e_b847_bcb6a2805eae -->|calls| 4f76ed87_f151_2295_8bb4_c7b5dfe010a2 bc4a6de9_07dc_eca7_681a_10f692e08483["commitMutationEffectsOnFiber()"] bc4a6de9_07dc_eca7_681a_10f692e08483 -->|calls| 4f76ed87_f151_2295_8bb4_c7b5dfe010a2 38cb51c8_1ba3_adb6_6b57_5b5853e89841["disappearLayoutEffects()"] 38cb51c8_1ba3_adb6_6b57_5b5853e89841 -->|calls| 4f76ed87_f151_2295_8bb4_c7b5dfe010a2 1846396a_6bcb_7ad4_8180_1d20ef2960a4["reappearLayoutEffects()"] 1846396a_6bcb_7ad4_8180_1d20ef2960a4 -->|calls| 4f76ed87_f151_2295_8bb4_c7b5dfe010a2 07f3c6d9_2fce_51ae_4408_e0d4ab7359a1["commitPassiveMountOnFiber()"] 07f3c6d9_2fce_51ae_4408_e0d4ab7359a1 -->|calls| 4f76ed87_f151_2295_8bb4_c7b5dfe010a2 c3c0c008_f543_54ba_5f17_334454e50793["reconnectPassiveEffects()"] c3c0c008_f543_54ba_5f17_334454e50793 -->|calls| 4f76ed87_f151_2295_8bb4_c7b5dfe010a2 e3c426a6_d017_fba5_0e94_3a1169983c80["recursivelyTraversePassiveUnmountEffects()"] e3c426a6_d017_fba5_0e94_3a1169983c80 -->|calls| 4f76ed87_f151_2295_8bb4_c7b5dfe010a2 8ece8c7a_ae72_8f82_6cb2_654f8dc2bc90["commitPassiveUnmountOnFiber()"] 8ece8c7a_ae72_8f82_6cb2_654f8dc2bc90 -->|calls| 4f76ed87_f151_2295_8bb4_c7b5dfe010a2 19b7647a_1cb8_04c7_c5f0_d84f212da7c7["commitPassiveUnmountInsideDeletedTreeOnFiber()"] 19b7647a_1cb8_04c7_c5f0_d84f212da7c7 -->|calls| 4f76ed87_f151_2295_8bb4_c7b5dfe010a2 style 4f76ed87_f151_2295_8bb4_c7b5dfe010a2 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/react-reconciler/src/ReactProfilerTimer.js lines 444–451
export function pushComponentEffectStart(): number {
if (!enableProfilerTimer || !enableProfilerCommitHooks) {
return 0;
}
const prevEffectStart = componentEffectStartTime;
componentEffectStartTime = -1.1; // Track the next start.
return prevEffectStart;
}
Domain
Subdomains
Called By
- commitDeletionEffects()
- commitDeletionEffectsOnFiber()
- commitLayoutEffectOnFiber()
- commitMutationEffectsOnFiber()
- commitPassiveMountOnFiber()
- commitPassiveUnmountInsideDeletedTreeOnFiber()
- commitPassiveUnmountOnFiber()
- disappearLayoutEffects()
- reappearLayoutEffects()
- reconnectPassiveEffects()
- recursivelyTraversePassiveUnmountEffects()
Source
Frequently Asked Questions
What does pushComponentEffectStart() do?
pushComponentEffectStart() is a function in the react codebase, defined in packages/react-reconciler/src/ReactProfilerTimer.js.
Where is pushComponentEffectStart() defined?
pushComponentEffectStart() is defined in packages/react-reconciler/src/ReactProfilerTimer.js at line 444.
What calls pushComponentEffectStart()?
pushComponentEffectStart() is called by 11 function(s): commitDeletionEffects, commitDeletionEffectsOnFiber, commitLayoutEffectOnFiber, commitMutationEffectsOnFiber, commitPassiveMountOnFiber, commitPassiveUnmountInsideDeletedTreeOnFiber, commitPassiveUnmountOnFiber, disappearLayoutEffects, and 3 more.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free