Home / Function/ isDispatcherType() — react Function Reference

isDispatcherType() — react Function Reference

Architecture documentation for the isDispatcherType() function in HIR.ts from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  999c03f8_5092_77b8_4f4d_11692b022fb1["isDispatcherType()"]
  18a78965_f593_105b_e5e8_07001321c2ec["HIR.ts"]
  999c03f8_5092_77b8_4f4d_11692b022fb1 -->|defined in| 18a78965_f593_105b_e5e8_07001321c2ec
  b5555c52_b6db_0e04_9c88_0a537ac1560e["isStableType()"]
  b5555c52_b6db_0e04_9c88_0a537ac1560e -->|calls| 999c03f8_5092_77b8_4f4d_11692b022fb1
  style 999c03f8_5092_77b8_4f4d_11692b022fb1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

compiler/packages/babel-plugin-react-compiler/src/HIR/HIR.ts lines 1885–1887

export function isDispatcherType(id: Identifier): boolean {
  return id.type.kind === 'Function' && id.type.shapeId === 'BuiltInDispatch';
}

Subdomains

Called By

Frequently Asked Questions

What does isDispatcherType() do?
isDispatcherType() is a function in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/HIR/HIR.ts.
Where is isDispatcherType() defined?
isDispatcherType() is defined in compiler/packages/babel-plugin-react-compiler/src/HIR/HIR.ts at line 1885.
What calls isDispatcherType()?
isDispatcherType() is called by 1 function(s): isStableType.

Analyze Your Own Codebase

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

Try Supermodel Free