markComponentSuspended() — react Function Reference
Architecture documentation for the markComponentSuspended() function in ReactFiberDevToolsHook.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD a766a1df_302f_3b13_9027_6dea08b1c24e["markComponentSuspended()"] 1f955e30_ff03_d9f9_d498_58b7dc7858dc["ReactFiberDevToolsHook.js"] a766a1df_302f_3b13_9027_6dea08b1c24e -->|defined in| 1f955e30_ff03_d9f9_d498_58b7dc7858dc style a766a1df_302f_3b13_9027_6dea08b1c24e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/react-reconciler/src/ReactFiberDevToolsHook.js lines 372–385
export function markComponentSuspended(
fiber: Fiber,
wakeable: Wakeable,
lanes: Lanes,
): void {
if (enableSchedulingProfiler) {
if (
injectedProfilingHooks !== null &&
typeof injectedProfilingHooks.markComponentSuspended === 'function'
) {
injectedProfilingHooks.markComponentSuspended(fiber, wakeable, lanes);
}
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does markComponentSuspended() do?
markComponentSuspended() is a function in the react codebase, defined in packages/react-reconciler/src/ReactFiberDevToolsHook.js.
Where is markComponentSuspended() defined?
markComponentSuspended() is defined in packages/react-reconciler/src/ReactFiberDevToolsHook.js at line 372.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free