Home / Function/ initProxy() — vue Function Reference

initProxy() — vue Function Reference

Architecture documentation for the initProxy() function in proxy.ts from the vue codebase.

Entity Profile

Dependency Diagram

graph TD
  4beebd0a_7fb4_9587_27ff_2a0e6d712226["initProxy()"]
  340c5746_ff29_c74c_9da5_50db2db76e5f["initMixin()"]
  340c5746_ff29_c74c_9da5_50db2db76e5f -->|calls| 4beebd0a_7fb4_9587_27ff_2a0e6d712226
  style 4beebd0a_7fb4_9587_27ff_2a0e6d712226 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

Called By

Frequently Asked Questions

What does initProxy() do?
initProxy() is a function in the vue codebase.
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