diff --git a/packages/reactivity/src/effect.ts b/packages/reactivity/src/effect.ts index 2368caf6..ae339be9 100644 --- a/packages/reactivity/src/effect.ts +++ b/packages/reactivity/src/effect.ts @@ -231,7 +231,7 @@ function addRunners( ) { if (effectsToAdd !== void 0) { effectsToAdd.forEach(effect => { - if (effect !== activeEffect) { + if (effect !== activeEffect || !shouldTrack) { if (effect.options.computed) { computedRunners.add(effect) } else {