reactjrx 1.108.3 → 1.109.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.
- package/dist/index.cjs +2 -8
- package/dist/index.js +2 -8
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -668,13 +668,7 @@ class QueryClient$ {
|
|
|
668
668
|
* - unmounting the component
|
|
669
669
|
* @see https://tanstack.com/query/latest/docs/framework/react/guides/query-cancellation
|
|
670
670
|
*/
|
|
671
|
-
rxjs.takeUntil(
|
|
672
|
-
rxjs.fromEvent(signal2, "abort").pipe(
|
|
673
|
-
rxjs.tap(() => {
|
|
674
|
-
debugger;
|
|
675
|
-
})
|
|
676
|
-
)
|
|
677
|
-
),
|
|
671
|
+
rxjs.takeUntil(rxjs.fromEvent(signal2, "abort")),
|
|
678
672
|
rxjs.share()
|
|
679
673
|
);
|
|
680
674
|
const cacheEntry = {
|
|
@@ -769,7 +763,7 @@ function useQuery$(options, queryClient) {
|
|
|
769
763
|
complete: () => {
|
|
770
764
|
if ((queryCacheEntry == null ? void 0 : queryCacheEntry.lastData) === void 0) {
|
|
771
765
|
console.log(
|
|
772
|
-
|
|
766
|
+
`cancelled due to stream completing without data for query ${queryHash}`,
|
|
773
767
|
queryCacheEntry == null ? void 0 : queryCacheEntry.lastData
|
|
774
768
|
);
|
|
775
769
|
_queryClient.cancelQueries({
|
package/dist/index.js
CHANGED
|
@@ -650,13 +650,7 @@ class QueryClient$ {
|
|
|
650
650
|
* - unmounting the component
|
|
651
651
|
* @see https://tanstack.com/query/latest/docs/framework/react/guides/query-cancellation
|
|
652
652
|
*/
|
|
653
|
-
takeUntil(
|
|
654
|
-
fromEvent(signal2, "abort").pipe(
|
|
655
|
-
tap(() => {
|
|
656
|
-
debugger;
|
|
657
|
-
})
|
|
658
|
-
)
|
|
659
|
-
),
|
|
653
|
+
takeUntil(fromEvent(signal2, "abort")),
|
|
660
654
|
share()
|
|
661
655
|
);
|
|
662
656
|
const cacheEntry = {
|
|
@@ -751,7 +745,7 @@ function useQuery$(options, queryClient) {
|
|
|
751
745
|
complete: () => {
|
|
752
746
|
if ((queryCacheEntry == null ? void 0 : queryCacheEntry.lastData) === void 0) {
|
|
753
747
|
console.log(
|
|
754
|
-
|
|
748
|
+
`cancelled due to stream completing without data for query ${queryHash}`,
|
|
755
749
|
queryCacheEntry == null ? void 0 : queryCacheEntry.lastData
|
|
756
750
|
);
|
|
757
751
|
_queryClient.cancelQueries({
|