initProxy() — vue Function Reference
Architecture documentation for the initProxy() function in proxy.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 3de0bddd_0740_698d_536f_d0baa5b2a4db["initProxy()"] 26d37790_f73c_4389_f6de_596173f66d1d["proxy.ts"] 3de0bddd_0740_698d_536f_d0baa5b2a4db -->|defined in| 26d37790_f73c_4389_f6de_596173f66d1d fa7d130b_dd31_b1d1_66a8_2f80c2266e16["initMixin()"] fa7d130b_dd31_b1d1_66a8_2f80c2266e16 -->|calls| 3de0bddd_0740_698d_536f_d0baa5b2a4db style 3de0bddd_0740_698d_536f_d0baa5b2a4db 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