@tanstack/react-query 4.32.5 → 4.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2816,7 +2816,7 @@
|
|
|
2816
2816
|
// then we'll need to update the properties as well
|
|
2817
2817
|
|
|
2818
2818
|
|
|
2819
|
-
if (observer.getCurrentResult()
|
|
2819
|
+
if (!shallowEqualObjects(observer.getCurrentResult(), optimisticResult)) {
|
|
2820
2820
|
return true;
|
|
2821
2821
|
} // basically, just keep previous properties if nothing changed
|
|
2822
2822
|
|
|
@@ -3910,6 +3910,7 @@
|
|
|
3910
3910
|
exports.MutationCache = MutationCache;
|
|
3911
3911
|
exports.MutationObserver = MutationObserver;
|
|
3912
3912
|
exports.QueriesObserver = QueriesObserver;
|
|
3913
|
+
exports.Query = Query;
|
|
3913
3914
|
exports.QueryCache = QueryCache;
|
|
3914
3915
|
exports.QueryClient = QueryClient;
|
|
3915
3916
|
exports.QueryClientProvider = QueryClientProvider;
|