Home / Function/ supportsOwnerStacks() — react Function Reference

supportsOwnerStacks() — react Function Reference

Architecture documentation for the supportsOwnerStacks() function in DevToolsFiberComponentStack.js from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  59d1d6ca_78ee_af97_ae56_33137c2ab2cb["supportsOwnerStacks()"]
  2bbfa631_5780_6883_1746_b7c42df10b5d["DevToolsFiberComponentStack.js"]
  59d1d6ca_78ee_af97_ae56_33137c2ab2cb -->|defined in| 2bbfa631_5780_6883_1746_b7c42df10b5d
  style 59d1d6ca_78ee_af97_ae56_33137c2ab2cb fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/react-devtools-shared/src/backend/fiber/DevToolsFiberComponentStack.js lines 141–145

export function supportsOwnerStacks(fiber: Fiber): boolean {
  // If this Fiber supports owner stacks then it'll have the _debugStack field.
  // It might be null but that still means we should use the owner stack logic.
  return fiber._debugStack !== undefined;
}

Domain

Subdomains

Frequently Asked Questions

What does supportsOwnerStacks() do?
supportsOwnerStacks() is a function in the react codebase, defined in packages/react-devtools-shared/src/backend/fiber/DevToolsFiberComponentStack.js.
Where is supportsOwnerStacks() defined?
supportsOwnerStacks() is defined in packages/react-devtools-shared/src/backend/fiber/DevToolsFiberComponentStack.js at line 141.

Analyze Your Own Codebase

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

Try Supermodel Free