flushSyncWorkOnLegacyRootsOnly() — react Function Reference
Architecture documentation for the flushSyncWorkOnLegacyRootsOnly() function in ReactFiberRootScheduler.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD b695f033_78f9_2acd_a914_48242065304f["flushSyncWorkOnLegacyRootsOnly()"] a22f22c8_f97a_86c8_be5a_4b91a6a21eab["ReactFiberRootScheduler.js"] b695f033_78f9_2acd_a914_48242065304f -->|defined in| a22f22c8_f97a_86c8_be5a_4b91a6a21eab b696b90a_5e97_f015_c2fa_f3bf0b69c0d2["flushSyncWorkAcrossRoots_impl()"] b695f033_78f9_2acd_a914_48242065304f -->|calls| b696b90a_5e97_f015_c2fa_f3bf0b69c0d2 style b695f033_78f9_2acd_a914_48242065304f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/react-reconciler/src/ReactFiberRootScheduler.js lines 177–183
export function flushSyncWorkOnLegacyRootsOnly() {
// This is allowed to be called synchronously, but the caller should check
// the execution context first.
if (!disableLegacyMode) {
flushSyncWorkAcrossRoots_impl(NoLanes, true);
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does flushSyncWorkOnLegacyRootsOnly() do?
flushSyncWorkOnLegacyRootsOnly() is a function in the react codebase, defined in packages/react-reconciler/src/ReactFiberRootScheduler.js.
Where is flushSyncWorkOnLegacyRootsOnly() defined?
flushSyncWorkOnLegacyRootsOnly() is defined in packages/react-reconciler/src/ReactFiberRootScheduler.js at line 177.
What does flushSyncWorkOnLegacyRootsOnly() call?
flushSyncWorkOnLegacyRootsOnly() 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