setShallowSuspenseListContext() — react Function Reference
Architecture documentation for the setShallowSuspenseListContext() function in ReactFiberSuspenseContext.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD a38c6d95_272d_004f_208e_2b5640266860["setShallowSuspenseListContext()"] be9c7dd4_0030_1768_3ad3_f5acdbd08eef["ReactFiberSuspenseContext.js"] a38c6d95_272d_004f_208e_2b5640266860 -->|defined in| be9c7dd4_0030_1768_3ad3_f5acdbd08eef 52177215_eced_b9dc_62cc_32297ae94438["updateSuspenseListComponent()"] 52177215_eced_b9dc_62cc_32297ae94438 -->|calls| a38c6d95_272d_004f_208e_2b5640266860 0b8db832_87fd_e560_8aa8_e2b319c81626["completeWork()"] 0b8db832_87fd_e560_8aa8_e2b319c81626 -->|calls| a38c6d95_272d_004f_208e_2b5640266860 style a38c6d95_272d_004f_208e_2b5640266860 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/react-reconciler/src/ReactFiberSuspenseContext.js lines 194–199
export function setShallowSuspenseListContext(
parentContext: SuspenseContext,
shallowContext: ShallowSuspenseContext,
): SuspenseContext {
return (parentContext & SubtreeSuspenseContextMask) | shallowContext;
}
Domain
Subdomains
Source
Frequently Asked Questions
What does setShallowSuspenseListContext() do?
setShallowSuspenseListContext() is a function in the react codebase, defined in packages/react-reconciler/src/ReactFiberSuspenseContext.js.
Where is setShallowSuspenseListContext() defined?
setShallowSuspenseListContext() is defined in packages/react-reconciler/src/ReactFiberSuspenseContext.js at line 194.
What calls setShallowSuspenseListContext()?
setShallowSuspenseListContext() is called by 2 function(s): completeWork, updateSuspenseListComponent.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free