onStartTransitionFinish() — react Function Reference
Architecture documentation for the onStartTransitionFinish() function in ReactSharedInternalsClient.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD 152545c8_4dc7_e8c5_edba_bcfdb6d8c46b["onStartTransitionFinish()"] d73e8952_8d9a_9536_f6d1_89e62a9194a3["ReactSharedInternalsClient.js"] 152545c8_4dc7_e8c5_edba_bcfdb6d8c46b -->|defined in| d73e8952_8d9a_9536_f6d1_89e62a9194a3 style 152545c8_4dc7_e8c5_edba_bcfdb6d8c46b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/react/src/ReactSharedInternalsClient.js lines 17–56
type onStartTransitionFinish = (Transition, mixed) => void;
type onStartGestureTransitionFinish = (
Transition,
GestureProvider,
?GestureOptions,
) => () => void;
export type SharedStateClient = {
H: null | Dispatcher, // ReactCurrentDispatcher for Hooks
A: null | AsyncDispatcher, // ReactCurrentCache for Cache
T: null | Transition, // ReactCurrentBatchConfig for Transitions
S: null | onStartTransitionFinish,
G: null | onStartGestureTransitionFinish,
// DEV-only
// ReactCurrentActQueue
actQueue: null | Array<RendererTask>,
// When zero this means we're outside an async startTransition.
asyncTransitions: number,
// Used to reproduce behavior of `batchedUpdates` in legacy mode.
isBatchingLegacy: boolean,
didScheduleLegacyUpdate: boolean,
// Tracks whether something called `use` during the current batch of work.
// Determines whether we should yield to microtasks to unwrap already resolved
// promises without suspending.
didUsePromise: boolean,
// Track first uncaught error within this act
thrownErrors: Array<mixed>,
// ReactDebugCurrentFrame
getCurrentStack: null | (() => string),
// ReactOwnerStackReset
recentlyCreatedOwnerStacks: 0,
};
Domain
Subdomains
Source
Frequently Asked Questions
What does onStartTransitionFinish() do?
onStartTransitionFinish() is a function in the react codebase, defined in packages/react/src/ReactSharedInternalsClient.js.
Where is onStartTransitionFinish() defined?
onStartTransitionFinish() is defined in packages/react/src/ReactSharedInternalsClient.js at line 17.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free