Skip to content

Commit 6aa871e

Browse files
committed
fix(runtime-core): component effect scopes should be detached
1 parent b357009 commit 6aa871e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/runtime-core/src/component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ export function createComponentInstance(
456456
next: null,
457457
subTree: null!, // will be set synchronously right after creation
458458
update: null!, // will be set synchronously right after creation
459-
scope: new EffectScope(),
459+
scope: new EffectScope(true /* detached */),
460460
render: null,
461461
proxy: null,
462462
exposed: null,

0 commit comments

Comments
 (0)