Home / Function/ shallowRef() — vue Function Reference

shallowRef() — vue Function Reference

Architecture documentation for the shallowRef() function in ref.ts from the vue codebase.

Entity Profile

Dependency Diagram

graph TD
  85825569_b5ba_10b2_3838_780bf30b03aa["shallowRef()"]
  89906332_8c06_b77c_4ba5_2b07c2cb4236["makeReactive()"]
  89906332_8c06_b77c_4ba5_2b07c2cb4236 -->|calls| 85825569_b5ba_10b2_3838_780bf30b03aa
  9db383c1_1631_2173_15e0_354055493aaf["createRef()"]
  85825569_b5ba_10b2_3838_780bf30b03aa -->|calls| 9db383c1_1631_2173_15e0_354055493aaf
  style 85825569_b5ba_10b2_3838_780bf30b03aa 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

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