shallowRef() — vue Function Reference
Architecture documentation for the shallowRef() function in ref.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 2f1a9edb_d3ed_0150_0854_de7f9f4691e2["shallowRef()"] 22b44e72_ad0a_6a98_e36a_e325291fd02b["ref.ts"] 2f1a9edb_d3ed_0150_0854_de7f9f4691e2 -->|defined in| 22b44e72_ad0a_6a98_e36a_e325291fd02b fb664353_aa86_ef8d_2524_f4204cadf9fe["makeReactive()"] fb664353_aa86_ef8d_2524_f4204cadf9fe -->|calls| 2f1a9edb_d3ed_0150_0854_de7f9f4691e2 72a537aa_86c4_d26a_0519_7cc9c411ad45["createRef()"] 2f1a9edb_d3ed_0150_0854_de7f9f4691e2 -->|calls| 72a537aa_86c4_d26a_0519_7cc9c411ad45 style 2f1a9edb_d3ed_0150_0854_de7f9f4691e2 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/v3/reactivity/ref.ts lines 58–60
export function shallowRef(value?: unknown) {
return createRef(value, true)
}
Domain
Subdomains
Defined In
Calls
Called By
Source
Frequently Asked Questions
What does shallowRef() do?
shallowRef() is a function in the vue codebase, defined in src/v3/reactivity/ref.ts.
Where is shallowRef() defined?
shallowRef() is defined in src/v3/reactivity/ref.ts at line 58.
What does shallowRef() call?
shallowRef() calls 1 function(s): createRef.
What calls shallowRef()?
shallowRef() 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