We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 750b476 commit 1911b4cCopy full SHA for 1911b4c
packages/reactivity/src/system.ts
@@ -201,17 +201,15 @@ export function processComputedUpdate(
201
shallowPropagate(subs)
202
}
203
204
- } else if (flags & SubscriberFlags.PendingComputed) {
205
- if (checkDirty(computed.deps!)) {
206
- if (computed.update()) {
207
- const subs = computed.subs
208
- if (subs !== undefined) {
209
- shallowPropagate(subs)
210
- }
+ } else if (checkDirty(computed.deps!)) {
+ if (computed.update()) {
+ const subs = computed.subs
+ if (subs !== undefined) {
+ shallowPropagate(subs)
211
212
- } else {
213
- computed.flags = flags & ~SubscriberFlags.PendingComputed
214
+ } else {
+ computed.flags = flags & ~SubscriberFlags.PendingComputed
215
216
217
0 commit comments