MCPcopy Create free account
hub / github.com/vuejs/test-utils / RootComponents

Interface RootComponents

src/vnodeTransformers/util.ts:26–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24export const isKeepAlive = (type: any): boolean => type.__isKeepAlive
25
26export interface RootComponents {
27 // Component which has been passed to mount. For functional components it contains a wrapper
28 component?: Component
29 // If component is functional then contains the original component otherwise empty
30 functional?: Component
31}
32export const isRootComponent = (
33 rootComponents: RootComponents,
34 type: VNodeTransformerInputComponentType,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…