getFirstComponentChild() — vue Function Reference
Architecture documentation for the getFirstComponentChild() function in get-first-component-child.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD e07d9339_fcb8_cebf_0ce9_174e7951a8b1["getFirstComponentChild()"] 5b855538_2046_796e_16f9_7327a61399cb["isDef()"] e07d9339_fcb8_cebf_0ce9_174e7951a8b1 -->|calls| 5b855538_2046_796e_16f9_7327a61399cb bc7ed540_1860_7d1b_4b71_a8202f23371e["isAsyncPlaceholder()"] e07d9339_fcb8_cebf_0ce9_174e7951a8b1 -->|calls| bc7ed540_1860_7d1b_4b71_a8202f23371e style e07d9339_fcb8_cebf_0ce9_174e7951a8b1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/core/vdom/helpers/get-first-component-child.ts lines 5–16
export function getFirstComponentChild(
children?: Array<VNode>
): VNode | undefined {
if (isArray(children)) {
for (let i = 0; i < children.length; i++) {
const c = children[i]
if (isDef(c) && (isDef(c.componentOptions) || isAsyncPlaceholder(c))) {
return c
}
}
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does getFirstComponentChild() do?
getFirstComponentChild() is a function in the vue codebase.
What does getFirstComponentChild() call?
getFirstComponentChild() calls 2 function(s): isAsyncPlaceholder, isDef.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free