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 e024e079_4ebe_14b6_263c_2988153ddacb["getFirstComponentChild()"] cee7daab_a792_66d9_098d_15ff5961e47f["get-first-component-child.ts"] e024e079_4ebe_14b6_263c_2988153ddacb -->|defined in| cee7daab_a792_66d9_098d_15ff5961e47f 9e2d427b_d4a2_bb4c_370b_b1726419786d["isAsyncPlaceholder()"] e024e079_4ebe_14b6_263c_2988153ddacb -->|calls| 9e2d427b_d4a2_bb4c_370b_b1726419786d style e024e079_4ebe_14b6_263c_2988153ddacb 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
Calls
Source
Frequently Asked Questions
What does getFirstComponentChild() do?
getFirstComponentChild() is a function in the vue codebase, defined in src/core/vdom/helpers/get-first-component-child.ts.
Where is getFirstComponentChild() defined?
getFirstComponentChild() is defined in src/core/vdom/helpers/get-first-component-child.ts at line 5.
What does getFirstComponentChild() call?
getFirstComponentChild() calls 1 function(s): isAsyncPlaceholder.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free