Skip to content

Commit

Permalink
fix(runtime-core): component effect scopes should be detached
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Jul 29, 2021
1 parent b357009 commit 6aa871e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/runtime-core/src/component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 6aa871e

Please sign in to comment.