From 6aa871e5658f79369ae4022b2c73319444bd1cca Mon Sep 17 00:00:00 2001 From: Evan You Date: Thu, 29 Jul 2021 17:15:56 -0400 Subject: [PATCH] fix(runtime-core): component effect scopes should be detached --- packages/runtime-core/src/component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/runtime-core/src/component.ts b/packages/runtime-core/src/component.ts index ea682c1f3..808ad3440 100644 --- a/packages/runtime-core/src/component.ts +++ b/packages/runtime-core/src/component.ts @@ -456,7 +456,7 @@ export function createComponentInstance( next: null, subTree: null!, // will be set synchronously right after creation update: null!, // will be set synchronously right after creation - scope: new EffectScope(), + scope: new EffectScope(true /* detached */), render: null, proxy: null, exposed: null,