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
  c2aa06df_e982_bf95_390c_b244927649f7["default.update()"]
  929b2960_01b4_a2f3_80ea_6c6432422d9d["registerRef()"]
  c2aa06df_e982_bf95_390c_b244927649f7 -->|calls| 929b2960_01b4_a2f3_80ea_6c6432422d9d
  style c2aa06df_e982_bf95_390c_b244927649f7 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