shallowRef() — vue Function Reference
Architecture documentation for the shallowRef() function in ref.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 85b09d73_5262_0d47_695a_c407f729487d["shallowRef()"] ada43310_8d32_ee2a_f18b_1e24fd4f8a1d["ref.ts"] 85b09d73_5262_0d47_695a_c407f729487d -->|defined in| ada43310_8d32_ee2a_f18b_1e24fd4f8a1d baf7ea08_1387_2364_f65b_4a8d69441de0["makeReactive()"] baf7ea08_1387_2364_f65b_4a8d69441de0 -->|calls| 85b09d73_5262_0d47_695a_c407f729487d 06c84f9a_d154_8c3b_e30e_4588287f8747["createRef()"] 85b09d73_5262_0d47_695a_c407f729487d -->|calls| 06c84f9a_d154_8c3b_e30e_4588287f8747 style 85b09d73_5262_0d47_695a_c407f729487d 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