Home / Function/ default.update() — vue Function Reference

default.update() — vue Function Reference

Architecture documentation for the default.update() function in template-ref.ts from the vue codebase.

Entity Profile

Dependency Diagram

graph TD
  a2266565_ff6e_f9ab_d2b2_cbd64274e87d["default.update()"]
  b4d64c20_18f0_552d_559e_065753ef82cd["template-ref.ts"]
  a2266565_ff6e_f9ab_d2b2_cbd64274e87d -->|defined in| b4d64c20_18f0_552d_559e_065753ef82cd
  ac2a5d8a_d8a3_117c_7f0d_cb9b1b084b59["registerRef()"]
  a2266565_ff6e_f9ab_d2b2_cbd64274e87d -->|calls| ac2a5d8a_d8a3_117c_7f0d_cb9b1b084b59
  style a2266565_ff6e_f9ab_d2b2_cbd64274e87d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/core/vdom/modules/template-ref.ts lines 18–23

  update(oldVnode: VNodeWithData, vnode: VNodeWithData) {
    if (oldVnode.data.ref !== vnode.data.ref) {
      registerRef(oldVnode, true)
      registerRef(vnode)
    }
  },

Domain

Subdomains

Frequently Asked Questions

What does default.update() do?
default.update() is a function in the vue codebase, defined in src/core/vdom/modules/template-ref.ts.
Where is default.update() defined?
default.update() is defined in src/core/vdom/modules/template-ref.ts at line 18.
What does default.update() call?
default.update() calls 1 function(s): registerRef.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free