syncSetupProxy() — vue Function Reference
Architecture documentation for the syncSetupProxy() function in apiSetup.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 5cee52f7_79bb_2c7c_c725_f0cd5a668b84["syncSetupProxy()"] 75058e43_64c9_ef74_0dc8_3767f108116b["updateChildComponent()"] 75058e43_64c9_ef74_0dc8_3767f108116b -->|calls| 5cee52f7_79bb_2c7c_c725_f0cd5a668b84 1cce23c5_c59e_9843_86a6_04dfc6049dcd["createSetupContext()"] 1cce23c5_c59e_9843_86a6_04dfc6049dcd -->|calls| 5cee52f7_79bb_2c7c_c725_f0cd5a668b84 9300c574_ed47_2546_3b16_2089901f09ac["defineProxyAttr()"] 5cee52f7_79bb_2c7c_c725_f0cd5a668b84 -->|calls| 9300c574_ed47_2546_3b16_2089901f09ac style 5cee52f7_79bb_2c7c_c725_f0cd5a668b84 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/v3/apiSetup.ts lines 125–148
export function syncSetupProxy(
to: any,
from: any,
prev: any,
instance: Component,
type: string
) {
let changed = false
for (const key in from) {
if (!(key in to)) {
changed = true
defineProxyAttr(to, key, instance, type)
} else if (from[key] !== prev[key]) {
changed = true
}
}
for (const key in to) {
if (!(key in from)) {
changed = true
delete to[key]
}
}
return changed
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does syncSetupProxy() do?
syncSetupProxy() is a function in the vue codebase.
What does syncSetupProxy() call?
syncSetupProxy() calls 1 function(s): defineProxyAttr.
What calls syncSetupProxy()?
syncSetupProxy() is called by 2 function(s): createSetupContext, updateChildComponent.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free