normalizeChildren() — vue Function Reference
Architecture documentation for the normalizeChildren() function in normalize-children.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 5622921f_54b9_3c35_daaf_e1a5562f01a0["normalizeChildren()"] e463e0db_7fce_3c6e_bf0a_b5d5f6d939c8["constructor()"] e463e0db_7fce_3c6e_bf0a_b5d5f6d939c8 -->|calls| 5622921f_54b9_3c35_daaf_e1a5562f01a0 c4732d15_fd52_2b9b_6d6d_65e127972dda["createFunctionalComponent()"] c4732d15_fd52_2b9b_6d6d_65e127972dda -->|calls| 5622921f_54b9_3c35_daaf_e1a5562f01a0 c7f1d55d_2699_9c30_8e7e_777b218e0242["normalizeScopedSlot()"] c7f1d55d_2699_9c30_8e7e_777b218e0242 -->|calls| 5622921f_54b9_3c35_daaf_e1a5562f01a0 7ce22b46_ffa0_d052_2b70_6ef17b86c493["isPrimitive()"] 5622921f_54b9_3c35_daaf_e1a5562f01a0 -->|calls| 7ce22b46_ffa0_d052_2b70_6ef17b86c493 92963bf0_2970_d7e2_456b_fc4a902c8b11["createTextVNode()"] 5622921f_54b9_3c35_daaf_e1a5562f01a0 -->|calls| 92963bf0_2970_d7e2_456b_fc4a902c8b11 1440068e_e497_905d_990b_b0c74b435762["normalizeArrayChildren()"] 5622921f_54b9_3c35_daaf_e1a5562f01a0 -->|calls| 1440068e_e497_905d_990b_b0c74b435762 style 5622921f_54b9_3c35_daaf_e1a5562f01a0 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/core/vdom/helpers/normalize-children.ts lines 36–42
export function normalizeChildren(children: any): Array<VNode> | undefined {
return isPrimitive(children)
? [createTextVNode(children)]
: isArray(children)
? normalizeArrayChildren(children)
: undefined
}
Domain
Subdomains
Source
Frequently Asked Questions
What does normalizeChildren() do?
normalizeChildren() is a function in the vue codebase.
What does normalizeChildren() call?
normalizeChildren() calls 3 function(s): createTextVNode, isPrimitive, normalizeArrayChildren.
What calls normalizeChildren()?
normalizeChildren() is called by 3 function(s): constructor, createFunctionalComponent, normalizeScopedSlot.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free