commitTracingMarkerPassiveMountEffect() — react Function Reference
Architecture documentation for the commitTracingMarkerPassiveMountEffect() function in ReactFiberCommitWork.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD 814a1810_d6b9_6098_a8fb_fd5562387064["commitTracingMarkerPassiveMountEffect()"] e0fbfbd5_47b0_a489_0b36_bbfad9245544["ReactFiberCommitWork.js"] 814a1810_d6b9_6098_a8fb_fd5562387064 -->|defined in| e0fbfbd5_47b0_a489_0b36_bbfad9245544 07f3c6d9_2fce_51ae_4408_e0d4ab7359a1["commitPassiveMountOnFiber()"] 07f3c6d9_2fce_51ae_4408_e0d4ab7359a1 -->|calls| 814a1810_d6b9_6098_a8fb_fd5562387064 c3c0c008_f543_54ba_5f17_334454e50793["reconnectPassiveEffects()"] c3c0c008_f543_54ba_5f17_334454e50793 -->|calls| 814a1810_d6b9_6098_a8fb_fd5562387064 style 814a1810_d6b9_6098_a8fb_fd5562387064 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/react-reconciler/src/ReactFiberCommitWork.js lines 3476–3492
function commitTracingMarkerPassiveMountEffect(finishedWork: Fiber) {
// Get the transitions that were initiatized during the render
// and add a start transition callback for each of them
// We will only call this on initial mount of the tracing marker
// only if there are no suspense children
const instance = finishedWork.stateNode;
if (instance.transitions !== null && instance.pendingBoundaries === null) {
addMarkerCompleteCallbackToPendingTransition(
finishedWork.memoizedProps.name,
instance.transitions,
);
instance.transitions = null;
instance.pendingBoundaries = null;
instance.aborts = null;
instance.name = null;
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does commitTracingMarkerPassiveMountEffect() do?
commitTracingMarkerPassiveMountEffect() is a function in the react codebase, defined in packages/react-reconciler/src/ReactFiberCommitWork.js.
Where is commitTracingMarkerPassiveMountEffect() defined?
commitTracingMarkerPassiveMountEffect() is defined in packages/react-reconciler/src/ReactFiberCommitWork.js at line 3476.
What calls commitTracingMarkerPassiveMountEffect()?
commitTracingMarkerPassiveMountEffect() is called by 2 function(s): commitPassiveMountOnFiber, reconnectPassiveEffects.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free