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 2aaf8b69_4bc1_3f1a_5bff_e300c84505ff["getFirstComponentChild()"] 2be3818d_a4f3_495c_543c_ee071b428982["isDef()"] 2aaf8b69_4bc1_3f1a_5bff_e300c84505ff -->|calls| 2be3818d_a4f3_495c_543c_ee071b428982 bf71a2ee_f51c_e994_6426_9bfe8fe12600["isAsyncPlaceholder()"] 2aaf8b69_4bc1_3f1a_5bff_e300c84505ff -->|calls| bf71a2ee_f51c_e994_6426_9bfe8fe12600 style 2aaf8b69_4bc1_3f1a_5bff_e300c84505ff 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