HIR Type — react Architecture
Architecture documentation for the HIR type/interface in HIR.ts from the react codebase.
Entity Profile
Dependency Diagram
graph TD 84e61022_6608_cd44_18fd_5844dea02b4f["HIR"] 18a78965_f593_105b_e5e8_07001321c2ec["HIR.ts"] 84e61022_6608_cd44_18fd_5844dea02b4f -->|defined in| 18a78965_f593_105b_e5e8_07001321c2ec style 84e61022_6608_cd44_18fd_5844dea02b4f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
compiler/packages/babel-plugin-react-compiler/src/HIR/HIR.ts lines 304–314
export type HIR = {
entry: BlockId;
/*
* Basic blocks are stored as a map to aid certain operations that need to
* lookup blocks by their id. However, the order of the items in the map is
* reverse postorder, that is, barring cycles, predecessors appear before
* successors. This is designed to facilitate forward data flow analysis.
*/
blocks: Map<BlockId, BasicBlock>;
};
Source
Frequently Asked Questions
What is the HIR type?
HIR is a type/interface in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/HIR/HIR.ts.
Where is HIR defined?
HIR is defined in compiler/packages/babel-plugin-react-compiler/src/HIR/HIR.ts at line 304.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free