Home / Function/ getRealChild() — vue Function Reference

getRealChild() — vue Function Reference

Architecture documentation for the getRealChild() function in transition.ts from the vue codebase.

Entity Profile

Dependency Diagram

graph TD
  01730846_7c40_b108_ac7b_306564cbdd8a["getRealChild()"]
  a0548f3d_ad52_9c9a_fe0e_c4bc5ed97f32["default.render()"]
  a0548f3d_ad52_9c9a_fe0e_c4bc5ed97f32 -->|calls| 01730846_7c40_b108_ac7b_306564cbdd8a
  style 01730846_7c40_b108_ac7b_306564cbdd8a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/platforms/web/runtime/components/transition.ts lines 34–41

function getRealChild(vnode?: VNode): VNode | undefined {
  const compOptions = vnode && vnode.componentOptions
  if (compOptions && compOptions.Ctor.options.abstract) {
    return getRealChild(getFirstComponentChild(compOptions.children))
  } else {
    return vnode
  }
}

Domain

Subdomains

Called By

Frequently Asked Questions

What does getRealChild() do?
getRealChild() is a function in the vue codebase.
What calls getRealChild()?
getRealChild() is called by 1 function(s): default.render.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free