Home / Type/ Primitive Type — react Architecture

Primitive Type — react Architecture

Architecture documentation for the Primitive type/interface in HIR.ts from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  722d2e90_3696_7728_c64a_5db774f60181["Primitive"]
  18a78965_f593_105b_e5e8_07001321c2ec["HIR.ts"]
  722d2e90_3696_7728_c64a_5db774f60181 -->|defined in| 18a78965_f593_105b_e5e8_07001321c2ec
  style 722d2e90_3696_7728_c64a_5db774f60181 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

compiler/packages/babel-plugin-react-compiler/src/HIR/HIR.ts lines 1173–1177

export type Primitive = {
  kind: 'Primitive';
  value: number | boolean | string | null | undefined;
  loc: SourceLocation;
};

Frequently Asked Questions

What is the Primitive type?
Primitive is a type/interface in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/HIR/HIR.ts.
Where is Primitive defined?
Primitive is defined in compiler/packages/babel-plugin-react-compiler/src/HIR/HIR.ts at line 1173.

Analyze Your Own Codebase

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

Try Supermodel Free