Home / Function/ pushSuspenseListCatch() — react Function Reference

pushSuspenseListCatch() — react Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  54c7aef5_a60a_490a_077f_858dd537c71a["pushSuspenseListCatch()"]
  be9c7dd4_0030_1768_3ad3_f5acdbd08eef["ReactFiberSuspenseContext.js"]
  54c7aef5_a60a_490a_077f_858dd537c71a -->|defined in| be9c7dd4_0030_1768_3ad3_f5acdbd08eef
  0b8db832_87fd_e560_8aa8_e2b319c81626["completeWork()"]
  0b8db832_87fd_e560_8aa8_e2b319c81626 -->|calls| 54c7aef5_a60a_490a_077f_858dd537c71a
  style 54c7aef5_a60a_490a_077f_858dd537c71a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/react-reconciler/src/ReactFiberSuspenseContext.js lines 212–224

export function pushSuspenseListCatch(
  fiber: Fiber,
  newContext: SuspenseContext,
): void {
  // In this case we do want to handle catching suspending on the actual boundary itself.
  // This is used for rows that are allowed to be hidden anyway.
  push(suspenseHandlerStackCursor, fiber, fiber);
  push(suspenseStackCursor, newContext, fiber);
  if (shellBoundary === null) {
    // We can contain the effects to hiding the current row.
    shellBoundary = fiber;
  }
}

Domain

Subdomains

Called By

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free