diff --git a/src/core/QueryInfo.ts b/src/core/QueryInfo.ts index 020a51a9fd4..d6a215816ab 100644 --- a/src/core/QueryInfo.ts +++ b/src/core/QueryInfo.ts @@ -175,7 +175,8 @@ export class QueryInfo { const oldDiff = this.diff; this.diff = diff; if (!this.dirty && - (diff && diff.result) !== (oldDiff && oldDiff.result)) { + !equal(oldDiff && oldDiff.result, + diff && diff.result)) { this.dirty = true; if (!this.notifyTimeout) { this.notifyTimeout = setTimeout(() => this.notify(), 0);