Home / Function/ isJsxType() — react Function Reference

isJsxType() — react Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  dcf0dbc5_68f1_cb22_5136_9fa2db94d282["isJsxType()"]
  18a78965_f593_105b_e5e8_07001321c2ec["HIR.ts"]
  dcf0dbc5_68f1_cb22_5136_9fa2db94d282 -->|defined in| 18a78965_f593_105b_e5e8_07001321c2ec
  f3815d1a_36a1_3e3d_92f2_dbbe88f01fe3["inferMutationAliasingRanges()"]
  f3815d1a_36a1_3e3d_92f2_dbbe88f01fe3 -->|calls| dcf0dbc5_68f1_cb22_5136_9fa2db94d282
  style dcf0dbc5_68f1_cb22_5136_9fa2db94d282 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

compiler/packages/babel-plugin-react-compiler/src/HIR/HIR.ts lines 1827–1829

export function isJsxType(type: Type): boolean {
  return type.kind === 'Object' && type.shapeId === 'BuiltInJsx';
}

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free