Home / Function/ setDefaultShallowSuspenseListContext() — react Function Reference

setDefaultShallowSuspenseListContext() — react Function Reference

Architecture documentation for the setDefaultShallowSuspenseListContext() function in ReactFiberSuspenseContext.js from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  7a74d7c7_a60b_d855_4210_5ede9b35da95["setDefaultShallowSuspenseListContext()"]
  be9c7dd4_0030_1768_3ad3_f5acdbd08eef["ReactFiberSuspenseContext.js"]
  7a74d7c7_a60b_d855_4210_5ede9b35da95 -->|defined in| be9c7dd4_0030_1768_3ad3_f5acdbd08eef
  52177215_eced_b9dc_62cc_32297ae94438["updateSuspenseListComponent()"]
  52177215_eced_b9dc_62cc_32297ae94438 -->|calls| 7a74d7c7_a60b_d855_4210_5ede9b35da95
  0b8db832_87fd_e560_8aa8_e2b319c81626["completeWork()"]
  0b8db832_87fd_e560_8aa8_e2b319c81626 -->|calls| 7a74d7c7_a60b_d855_4210_5ede9b35da95
  b647f646_ee62_5db9_2e55_81bfe0bcdd6c["pushPrimaryTreeSuspenseHandler()"]
  b647f646_ee62_5db9_2e55_81bfe0bcdd6c -->|calls| 7a74d7c7_a60b_d855_4210_5ede9b35da95
  style 7a74d7c7_a60b_d855_4210_5ede9b35da95 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/react-reconciler/src/ReactFiberSuspenseContext.js lines 188–192

export function setDefaultShallowSuspenseListContext(
  parentContext: SuspenseContext,
): SuspenseContext {
  return parentContext & SubtreeSuspenseContextMask;
}

Domain

Subdomains

Frequently Asked Questions

What does setDefaultShallowSuspenseListContext() do?
setDefaultShallowSuspenseListContext() is a function in the react codebase, defined in packages/react-reconciler/src/ReactFiberSuspenseContext.js.
Where is setDefaultShallowSuspenseListContext() defined?
setDefaultShallowSuspenseListContext() is defined in packages/react-reconciler/src/ReactFiberSuspenseContext.js at line 188.
What calls setDefaultShallowSuspenseListContext()?
setDefaultShallowSuspenseListContext() is called by 3 function(s): completeWork, pushPrimaryTreeSuspenseHandler, updateSuspenseListComponent.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free