Home / Type/ ObjectPropertyKey Type — react Architecture

ObjectPropertyKey Type — react Architecture

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

compiler/packages/babel-plugin-react-compiler/src/HIR/HIR.ts lines 706–722

export type ObjectPropertyKey =
  | {
      kind: 'string';
      name: string;
    }
  | {
      kind: 'identifier';
      name: string;
    }
  | {
      kind: 'computed';
      name: Place;
    }
  | {
      kind: 'number';
      name: number;
    };

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free