Home / Function/ markOnce() — vue Function Reference

markOnce() — vue Function Reference

Architecture documentation for the markOnce() function in render-static.ts from the vue codebase.

Entity Profile

Dependency Diagram

graph TD
  d06e233f_dada_bc8a_f78d_475951040974["markOnce()"]
  208f3688_2587_2323_5a93_4b7c64c5dacf["markStatic()"]
  d06e233f_dada_bc8a_f78d_475951040974 -->|calls| 208f3688_2587_2323_5a93_4b7c64c5dacf
  style d06e233f_dada_bc8a_f78d_475951040974 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/core/instance/render-helpers/render-static.ts lines 32–39

export function markOnce(
  tree: VNode | Array<VNode>,
  index: number,
  key: string
) {
  markStatic(tree, `__once__${index}${key ? `_${key}` : ``}`, true)
  return tree
}

Domain

Subdomains

Calls

Frequently Asked Questions

What does markOnce() do?
markOnce() is a function in the vue codebase.
What does markOnce() call?
markOnce() calls 1 function(s): markStatic.

Analyze Your Own Codebase

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

Try Supermodel Free