Skip to content
This repository was archived by the owner on Jul 19, 2025. It is now read-only.

Commit 1f134ae

Browse files
committed
feat(runtime-vapor): expose vapor mode flag
1 parent 5028880 commit 1f134ae

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/runtime-vapor/src/component.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ export interface ComponentInternalInstance {
4747
refs: Data
4848
metadata: WeakMap<Node, ElementMetadata>
4949

50+
vapor: true
51+
5052
/** directives */
5153
dirs: Map<Node, DirectiveBinding[]>
5254

@@ -157,6 +159,7 @@ export const createComponentInstance = (
157159
setupState: EMPTY_OBJ,
158160
refs: EMPTY_OBJ,
159161
metadata: new WeakMap(),
162+
vapor: true,
160163

161164
dirs: new Map(),
162165

0 commit comments

Comments
 (0)