flushSyncWorkOnAllRoots() — react Function Reference
Architecture documentation for the flushSyncWorkOnAllRoots() function in ReactFiberRootScheduler.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD d39759e1_0993_8c5e_d6fb_971e55a17e03["flushSyncWorkOnAllRoots()"] a22f22c8_f97a_86c8_be5a_4b91a6a21eab["ReactFiberRootScheduler.js"] d39759e1_0993_8c5e_d6fb_971e55a17e03 -->|defined in| a22f22c8_f97a_86c8_be5a_4b91a6a21eab b696b90a_5e97_f015_c2fa_f3bf0b69c0d2["flushSyncWorkAcrossRoots_impl()"] d39759e1_0993_8c5e_d6fb_971e55a17e03 -->|calls| b696b90a_5e97_f015_c2fa_f3bf0b69c0d2 style d39759e1_0993_8c5e_d6fb_971e55a17e03 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/react-reconciler/src/ReactFiberRootScheduler.js lines 171–175
export function flushSyncWorkOnAllRoots() {
// This is allowed to be called synchronously, but the caller should check
// the execution context first.
flushSyncWorkAcrossRoots_impl(NoLanes, false);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does flushSyncWorkOnAllRoots() do?
flushSyncWorkOnAllRoots() is a function in the react codebase, defined in packages/react-reconciler/src/ReactFiberRootScheduler.js.
Where is flushSyncWorkOnAllRoots() defined?
flushSyncWorkOnAllRoots() is defined in packages/react-reconciler/src/ReactFiberRootScheduler.js at line 171.
What does flushSyncWorkOnAllRoots() call?
flushSyncWorkOnAllRoots() calls 1 function(s): flushSyncWorkAcrossRoots_impl.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free