markStatic() — vue Function Reference
Architecture documentation for the markStatic() function in render-static.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 208f3688_2587_2323_5a93_4b7c64c5dacf["markStatic()"] fe8a4fcb_02e1_91b8_2b5e_ae81d18a3ded["renderStatic()"] fe8a4fcb_02e1_91b8_2b5e_ae81d18a3ded -->|calls| 208f3688_2587_2323_5a93_4b7c64c5dacf d06e233f_dada_bc8a_f78d_475951040974["markOnce()"] d06e233f_dada_bc8a_f78d_475951040974 -->|calls| 208f3688_2587_2323_5a93_4b7c64c5dacf 46401116_0567_d953_6851_c288174a51aa["markStaticNode()"] 208f3688_2587_2323_5a93_4b7c64c5dacf -->|calls| 46401116_0567_d953_6851_c288174a51aa style 208f3688_2587_2323_5a93_4b7c64c5dacf 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