ref() — vue Function Reference
Architecture documentation for the ref() function in ref.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD a1450db6_2efb_6cd1_7916_61560cb0b2f5["ref()"] 22b44e72_ad0a_6a98_e36a_e325291fd02b["ref.ts"] a1450db6_2efb_6cd1_7916_61560cb0b2f5 -->|defined in| 22b44e72_ad0a_6a98_e36a_e325291fd02b fb664353_aa86_ef8d_2524_f4204cadf9fe["makeReactive()"] fb664353_aa86_ef8d_2524_f4204cadf9fe -->|calls| a1450db6_2efb_6cd1_7916_61560cb0b2f5 72a537aa_86c4_d26a_0519_7cc9c411ad45["createRef()"] a1450db6_2efb_6cd1_7916_61560cb0b2f5 -->|calls| 72a537aa_86c4_d26a_0519_7cc9c411ad45 style a1450db6_2efb_6cd1_7916_61560cb0b2f5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/v3/reactivity/ref.ts lines 46–48
export function ref(value?: unknown) {
return createRef(value, false)
}
Domain
Subdomains
Defined In
Calls
Called By
Source
Frequently Asked Questions
What does ref() do?
ref() is a function in the vue codebase, defined in src/v3/reactivity/ref.ts.
Where is ref() defined?
ref() is defined in src/v3/reactivity/ref.ts at line 46.
What does ref() call?
ref() calls 1 function(s): createRef.
What calls ref()?
ref() is called by 1 function(s): makeReactive.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free