startAsyncTransitionTimer() — react Function Reference
Architecture documentation for the startAsyncTransitionTimer() function in ReactProfilerTimer.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD 615218a1_42bf_c3aa_c0fa_ff6fadfb674e["startAsyncTransitionTimer()"] e054b9c7_41f1_c7f7_97bb_98b6a445e94b["ReactProfilerTimer.js"] 615218a1_42bf_c3aa_c0fa_ff6fadfb674e -->|defined in| e054b9c7_41f1_c7f7_97bb_98b6a445e94b 5016b59c_36d5_c0b9_3051_0db05af2c0f7["ReactSharedInternals()"] 5016b59c_36d5_c0b9_3051_0db05af2c0f7 -->|calls| 615218a1_42bf_c3aa_c0fa_ff6fadfb674e style 615218a1_42bf_c3aa_c0fa_ff6fadfb674e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/react-reconciler/src/ReactProfilerTimer.js lines 300–317
export function startAsyncTransitionTimer(): void {
if (!enableProfilerTimer || !enableComponentPerformanceTrack) {
return;
}
if (transitionStartTime < 0 && transitionUpdateTime < 0) {
transitionStartTime = now();
const newEventTime = resolveEventTimeStamp();
const newEventType = resolveEventType();
if (
newEventTime !== transitionEventRepeatTime ||
newEventType !== transitionEventType
) {
transitionEventRepeatTime = -1.1;
}
transitionEventTime = newEventTime;
transitionEventType = newEventType;
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does startAsyncTransitionTimer() do?
startAsyncTransitionTimer() is a function in the react codebase, defined in packages/react-reconciler/src/ReactProfilerTimer.js.
Where is startAsyncTransitionTimer() defined?
startAsyncTransitionTimer() is defined in packages/react-reconciler/src/ReactProfilerTimer.js at line 300.
What calls startAsyncTransitionTimer()?
startAsyncTransitionTimer() is called by 1 function(s): ReactSharedInternals.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free