markStatic() — vue Function Reference
Architecture documentation for the markStatic() function in render-static.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD e5b73b21_ce93_60f6_4f4e_578d2021659a["markStatic()"] 554851ec_b4b6_b89e_7486_7ccc31acd96b["renderStatic()"] 554851ec_b4b6_b89e_7486_7ccc31acd96b -->|calls| e5b73b21_ce93_60f6_4f4e_578d2021659a 0366d9f1_e273_e4cd_eef2_614d3a3c3037["markOnce()"] 0366d9f1_e273_e4cd_eef2_614d3a3c3037 -->|calls| e5b73b21_ce93_60f6_4f4e_578d2021659a 11fdf2d8_5c7f_214a_0a9e_fcdc482c68b7["markStaticNode()"] e5b73b21_ce93_60f6_4f4e_578d2021659a -->|calls| 11fdf2d8_5c7f_214a_0a9e_fcdc482c68b7 style e5b73b21_ce93_60f6_4f4e_578d2021659a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/core/instance/render-helpers/render-static.ts lines 41–51
function markStatic(tree: VNode | Array<VNode>, key: string, isOnce: boolean) {
if (isArray(tree)) {
for (let i = 0; i < tree.length; i++) {
if (tree[i] && typeof tree[i] !== 'string') {
markStaticNode(tree[i], `${key}_${i}`, isOnce)
}
}
} else {
markStaticNode(tree, key, isOnce)
}
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does markStatic() do?
markStatic() is a function in the vue codebase.
What does markStatic() call?
markStatic() calls 1 function(s): markStaticNode.
What calls markStatic()?
markStatic() is called by 2 function(s): markOnce, renderStatic.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free