initProxy() — vue Function Reference
Architecture documentation for the initProxy() function in proxy.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 28312ac3_ad7f_97ae_dcab_e5134fb1881f["initProxy()"] 18330ec4_c733_5eb5_21fe_6f99d09ac84f["proxy.ts"] 28312ac3_ad7f_97ae_dcab_e5134fb1881f -->|defined in| 18330ec4_c733_5eb5_21fe_6f99d09ac84f 7cb38e61_0473_03dc_2a46_4308c941e8cf["initMixin()"] 7cb38e61_0473_03dc_2a46_4308c941e8cf -->|calls| 28312ac3_ad7f_97ae_dcab_e5134fb1881f style 28312ac3_ad7f_97ae_dcab_e5134fb1881f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/core/instance/proxy.ts lines 84–94
initProxy = function initProxy(vm) {
if (hasProxy) {
// determine which proxy handler to use
const options = vm.$options
const handlers =
options.render && options.render._withStripped ? getHandler : hasHandler
vm._renderProxy = new Proxy(vm, handlers)
} else {
vm._renderProxy = vm
}
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does initProxy() do?
initProxy() is a function in the vue codebase, defined in src/core/instance/proxy.ts.
Where is initProxy() defined?
initProxy() is defined in src/core/instance/proxy.ts at line 84.
What calls initProxy()?
initProxy() is called by 1 function(s): initMixin.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free