Home / Function/ isRefOrRefValue() — react Function Reference

isRefOrRefValue() — react Function Reference

Architecture documentation for the isRefOrRefValue() function in HIR.ts from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  0c74e41b_0049_99ab_ef6c_f73809164fac["isRefOrRefValue()"]
  18a78965_f593_105b_e5e8_07001321c2ec["HIR.ts"]
  0c74e41b_0049_99ab_ef6c_f73809164fac -->|defined in| 18a78965_f593_105b_e5e8_07001321c2ec
  6e7c932f_5e2d_52c4_1399_ff365b3858b6["isUseRefType()"]
  0c74e41b_0049_99ab_ef6c_f73809164fac -->|calls| 6e7c932f_5e2d_52c4_1399_ff365b3858b6
  9b550baf_b3c9_a36a_101b_988d1ebb847c["isRefValueType()"]
  0c74e41b_0049_99ab_ef6c_f73809164fac -->|calls| 9b550baf_b3c9_a36a_101b_988d1ebb847c
  style 0c74e41b_0049_99ab_ef6c_f73809164fac fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

compiler/packages/babel-plugin-react-compiler/src/HIR/HIR.ts lines 1831–1833

export function isRefOrRefValue(id: Identifier): boolean {
  return isUseRefType(id) || isRefValueType(id);
}

Subdomains

Frequently Asked Questions

What does isRefOrRefValue() do?
isRefOrRefValue() is a function in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/HIR/HIR.ts.
Where is isRefOrRefValue() defined?
isRefOrRefValue() is defined in compiler/packages/babel-plugin-react-compiler/src/HIR/HIR.ts at line 1831.
What does isRefOrRefValue() call?
isRefOrRefValue() calls 2 function(s): isRefValueType, isUseRefType.

Analyze Your Own Codebase

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

Try Supermodel Free