proxyRefs() — vue Function Reference
Architecture documentation for the proxyRefs() function in ref.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 64e66d4a_66ec_04dc_9d39_9163e6c96fe5["proxyRefs()"] c5c37a47_bc5f_b7a2_7788_aa7ab748702f["isReactive()"] 64e66d4a_66ec_04dc_9d39_9163e6c96fe5 -->|calls| c5c37a47_bc5f_b7a2_7788_aa7ab748702f 0dff7671_dbca_28ee_2e55_169d9e03ef4c["proxyWithRefUnwrap()"] 64e66d4a_66ec_04dc_9d39_9163e6c96fe5 -->|calls| 0dff7671_dbca_28ee_2e55_169d9e03ef4c style 64e66d4a_66ec_04dc_9d39_9163e6c96fe5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/v3/reactivity/ref.ts lines 97–109
export function proxyRefs<T extends object>(
objectWithRefs: T
): ShallowUnwrapRef<T> {
if (isReactive(objectWithRefs)) {
return objectWithRefs as any
}
const proxy = {}
const keys = Object.keys(objectWithRefs)
for (let i = 0; i < keys.length; i++) {
proxyWithRefUnwrap(proxy, objectWithRefs, keys[i])
}
return proxy as any
}
Domain
Subdomains
Source
Frequently Asked Questions
What does proxyRefs() do?
proxyRefs() is a function in the vue codebase.
What does proxyRefs() call?
proxyRefs() calls 2 function(s): isReactive, proxyWithRefUnwrap.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free