Home / Function/ createAsyncPlaceholder() — vue Function Reference

createAsyncPlaceholder() — vue Function Reference

Architecture documentation for the createAsyncPlaceholder() function in resolve-async-component.ts from the vue codebase.

Entity Profile

Dependency Diagram

graph TD
  211c4364_5d93_ec72_445a_b9b73ea8871a["createAsyncPlaceholder()"]
  474757cc_f7dc_eabe_83a2_509534861f2f["createEmptyVNode()"]
  211c4364_5d93_ec72_445a_b9b73ea8871a -->|calls| 474757cc_f7dc_eabe_83a2_509534861f2f
  style 211c4364_5d93_ec72_445a_b9b73ea8871a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/core/vdom/helpers/resolve-async-component.ts lines 25–36

export function createAsyncPlaceholder(
  factory: Function,
  data: VNodeData | undefined,
  context: Component,
  children: Array<VNode> | undefined,
  tag?: string
): VNode {
  const node = createEmptyVNode()
  node.asyncFactory = factory
  node.asyncMeta = { data, context, children, tag }
  return node
}

Domain

Subdomains

Frequently Asked Questions

What does createAsyncPlaceholder() do?
createAsyncPlaceholder() is a function in the vue codebase.
What does createAsyncPlaceholder() call?
createAsyncPlaceholder() calls 1 function(s): createEmptyVNode.

Analyze Your Own Codebase

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

Try Supermodel Free