isUseRefType() — react Function Reference
Architecture documentation for the isUseRefType() function in HIR.ts from the react codebase.
Entity Profile
Dependency Diagram
graph TD 6e7c932f_5e2d_52c4_1399_ff365b3858b6["isUseRefType()"] 18a78965_f593_105b_e5e8_07001321c2ec["HIR.ts"] 6e7c932f_5e2d_52c4_1399_ff365b3858b6 -->|defined in| 18a78965_f593_105b_e5e8_07001321c2ec 0c74e41b_0049_99ab_ef6c_f73809164fac["isRefOrRefValue()"] 0c74e41b_0049_99ab_ef6c_f73809164fac -->|calls| 6e7c932f_5e2d_52c4_1399_ff365b3858b6 b5555c52_b6db_0e04_9c88_0a537ac1560e["isStableType()"] b5555c52_b6db_0e04_9c88_0a537ac1560e -->|calls| 6e7c932f_5e2d_52c4_1399_ff365b3858b6 b1bdda46_c31a_9557_b610_d2ed7c3ceaed["visitDependency()"] b1bdda46_c31a_9557_b610_d2ed7c3ceaed -->|calls| 6e7c932f_5e2d_52c4_1399_ff365b3858b6 f3301f69_e1c4_2764_56ed_201c37c731c4["isStableRefType()"] f3301f69_e1c4_2764_56ed_201c37c731c4 -->|calls| 6e7c932f_5e2d_52c4_1399_ff365b3858b6 style 6e7c932f_5e2d_52c4_1399_ff365b3858b6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
compiler/packages/babel-plugin-react-compiler/src/HIR/HIR.ts lines 1819–1821
export function isUseRefType(id: Identifier): boolean {
return id.type.kind === 'Object' && id.type.shapeId === 'BuiltInUseRefId';
}
Domain
Subdomains
Source
Frequently Asked Questions
What does isUseRefType() do?
isUseRefType() is a function in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/HIR/HIR.ts.
Where is isUseRefType() defined?
isUseRefType() is defined in compiler/packages/babel-plugin-react-compiler/src/HIR/HIR.ts at line 1819.
What calls isUseRefType()?
isUseRefType() is called by 4 function(s): isRefOrRefValue, isStableRefType, isStableType, visitDependency.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free