From: Evan You Date: Thu, 29 Jul 2021 21:15:56 +0000 (-0400) Subject: fix(runtime-core): component effect scopes should be detached X-Git-Tag: v3.2.0-beta.8~26 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6aa871e5658f79369ae4022b2c73319444bd1cca;p=thirdparty%2Fvuejs%2Fcore.git fix(runtime-core): component effect scopes should be detached --- diff --git a/packages/runtime-core/src/component.ts b/packages/runtime-core/src/component.ts index ea682c1f34..808ad34405 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,