isUnOptimizableTree() — vue Function Reference
Architecture documentation for the isUnOptimizableTree() function in optimizer.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD e11f0355_39e8_a964_c79d_5c6c371637c8["isUnOptimizableTree()"] d9b23739_d138_7c29_c34e_deb91beabbb7["walk()"] d9b23739_d138_7c29_c34e_deb91beabbb7 -->|calls| e11f0355_39e8_a964_c79d_5c6c371637c8 d3dcb7ea_94d5_901b_46d8_3443b83058e5["isSelectWithModel()"] e11f0355_39e8_a964_c79d_5c6c371637c8 -->|calls| d3dcb7ea_94d5_901b_46d8_3443b83058e5 style e11f0355_39e8_a964_c79d_5c6c371637c8 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/server-renderer/src/optimizing-compiler/optimizer.ts lines 110–121
function isUnOptimizableTree(node: ASTNode): boolean {
if (node.type === 2 || node.type === 3) {
// text or expression
return false
}
return (
isBuiltInTag(node.tag) || // built-in (slot, component)
!isPlatformReservedTag(node.tag) || // custom component
!!node.component || // "is" component
isSelectWithModel(node) // <select v-model> requires runtime inspection
)
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does isUnOptimizableTree() do?
isUnOptimizableTree() is a function in the vue codebase.
What does isUnOptimizableTree() call?
isUnOptimizableTree() calls 1 function(s): isSelectWithModel.
What calls isUnOptimizableTree()?
isUnOptimizableTree() is called by 1 function(s): walk.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free