commitPassiveMountEffects() — react Function Reference
Architecture documentation for the commitPassiveMountEffects() function in ReactFiberCommitWork.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD 3b48a9a7_8dba_165e_d034_0aaca1b42cdc["commitPassiveMountEffects()"] e0fbfbd5_47b0_a489_0b36_bbfad9245544["ReactFiberCommitWork.js"] 3b48a9a7_8dba_165e_d034_0aaca1b42cdc -->|defined in| e0fbfbd5_47b0_a489_0b36_bbfad9245544 a7c3e629_e473_0a1c_70a3_acfc6eb4e3fc["resetComponentEffectTimers()"] 3b48a9a7_8dba_165e_d034_0aaca1b42cdc -->|calls| a7c3e629_e473_0a1c_70a3_acfc6eb4e3fc 07f3c6d9_2fce_51ae_4408_e0d4ab7359a1["commitPassiveMountOnFiber()"] 3b48a9a7_8dba_165e_d034_0aaca1b42cdc -->|calls| 07f3c6d9_2fce_51ae_4408_e0d4ab7359a1 style 3b48a9a7_8dba_165e_d034_0aaca1b42cdc fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/react-reconciler/src/ReactFiberCommitWork.js lines 3494–3510
export function commitPassiveMountEffects(
root: FiberRoot,
finishedWork: Fiber,
committedLanes: Lanes,
committedTransitions: Array<Transition> | null,
renderEndTime: number, // Profiling-only
): void {
resetComponentEffectTimers();
commitPassiveMountOnFiber(
root,
finishedWork,
committedLanes,
committedTransitions,
enableProfilerTimer && enableComponentPerformanceTrack ? renderEndTime : 0,
);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does commitPassiveMountEffects() do?
commitPassiveMountEffects() is a function in the react codebase, defined in packages/react-reconciler/src/ReactFiberCommitWork.js.
Where is commitPassiveMountEffects() defined?
commitPassiveMountEffects() is defined in packages/react-reconciler/src/ReactFiberCommitWork.js at line 3494.
What does commitPassiveMountEffects() call?
commitPassiveMountEffects() calls 2 function(s): commitPassiveMountOnFiber, resetComponentEffectTimers.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free