shallowRef() — vue Function Reference
Architecture documentation for the shallowRef() function in ref.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD d1ba56b2_af69_8479_47bc_048c15c92d02["shallowRef()"] d3dda2d9_7749_e0a8_b53c_ec861b80f46e["makeReactive()"] d3dda2d9_7749_e0a8_b53c_ec861b80f46e -->|calls| d1ba56b2_af69_8479_47bc_048c15c92d02 8ae90034_2894_93a3_a1c6_fc0c92d3709b["createRef()"] d1ba56b2_af69_8479_47bc_048c15c92d02 -->|calls| 8ae90034_2894_93a3_a1c6_fc0c92d3709b style d1ba56b2_af69_8479_47bc_048c15c92d02 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
Calls
Called By
Source
Frequently Asked Questions
What does shallowRef() do?
shallowRef() is a function in the vue codebase.
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