Home / Type/ StructuralValue Type — react Architecture

StructuralValue Type — react Architecture

Architecture documentation for the StructuralValue type/interface in Types.ts from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  321e0d91_23cf_cc89_de61_f0b32d318aab["StructuralValue"]
  912702ee_f06e_77d9_d237_a41c50607cdf["Types.ts"]
  321e0d91_23cf_cc89_de61_f0b32d318aab -->|defined in| 912702ee_f06e_77d9_d237_a41c50607cdf
  style 321e0d91_23cf_cc89_de61_f0b32d318aab fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

compiler/packages/babel-plugin-react-compiler/src/Flood/Types.ts lines 64–76

export type StructuralValue =
  | {
      kind: 'Function';
      fn: HIRFunction;
    }
  | {
      kind: 'Object';
      members: Map<string, ResolvedType>;
    }
  | {
      kind: 'Array';
      elementType: ResolvedType;
    };

Frequently Asked Questions

What is the StructuralValue type?
StructuralValue is a type/interface in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/Flood/Types.ts.
Where is StructuralValue defined?
StructuralValue is defined in compiler/packages/babel-plugin-react-compiler/src/Flood/Types.ts at line 64.

Analyze Your Own Codebase

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

Try Supermodel Free