Home / Type/ RenderState Type — vue Architecture

RenderState Type — vue Architecture

Architecture documentation for the RenderState type/interface in render-context.ts from the vue codebase.

Entity Profile

Source Code

packages/server-renderer/src/render-context.ts lines 5–29

type RenderState =
  | {
      type: 'Element'
      rendered: number
      total: number
      children: Array<VNode>
      endTag: string
    }
  | {
      type: 'Fragment'
      rendered: number
      total: number
      children: Array<VNode>
    }
  | {
      type: 'Component'
      prevActive: Component
    }
  | {
      type: 'ComponentWithCache'
      buffer: Array<string>
      bufferIndex: number
      componentBuffer: Array<Set<Component>>
      key: string
    }

Analyze Your Own Codebase

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

Try Supermodel Free