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
  addea082_c35b_e414_c7a1_941768813d2f["default.update()"]
  e92873d4_293f_9488_86af_ed0867a761e4["registerRef()"]
  addea082_c35b_e414_c7a1_941768813d2f -->|calls| e92873d4_293f_9488_86af_ed0867a761e4
  style addea082_c35b_e414_c7a1_941768813d2f 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.
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