We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
yyx990803
Learn more about funding links in repositories.
Report abuse
1 parent 4768f26 commit 25bc654Copy full SHA for 25bc654
packages/reactivity/src/effect.ts
@@ -75,7 +75,7 @@ export class ReactiveEffect<T = any> {
75
if (!this.active) {
76
return this.fn()
77
}
78
- if (!effectStack.includes(this)) {
+ if (!effectStack.length || !effectStack.includes(this)) {
79
try {
80
effectStack.push((activeEffect = this))
81
enableTracking()
0 commit comments