fix(runtime-core): component effect scopes should be detached

This commit is contained in:
Evan You 2021-07-29 17:15:56 -04:00
parent b357009a82
commit 6aa871e565

View File

@ -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,