@tanstack/react-query 4.0.9 → 4.1.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/build/cjs/query-core/build/esm/index.js +19 -6
- package/build/cjs/query-core/build/esm/index.js.map +1 -1
- package/build/esm/index.js +19 -6
- package/build/esm/index.js.map +1 -1
- package/build/stats-html.html +1 -1
- package/build/stats.json +180 -180
- package/build/types/packages/query-core/src/mutationCache.d.ts +6 -1
- package/build/types/packages/query-core/src/queryCache.d.ts +6 -1
- package/build/umd/index.development.js +19 -6
- package/build/umd/index.development.js.map +1 -1
- package/build/umd/index.production.js +1 -1
- package/build/umd/index.production.js.map +1 -1
- package/package.json +1 -1
- package/src/__tests__/useQuery.test.tsx +10 -8
package/build/stats-html.html
CHANGED
|
@@ -2669,7 +2669,7 @@ var drawChart = (function (exports) {
|
|
|
2669
2669
|
</script>
|
|
2670
2670
|
<script>
|
|
2671
2671
|
/*<!--*/
|
|
2672
|
-
const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.production.js","children":[{"name":"packages","children":[{"name":"query-core/build/esm/index.js","uid":"
|
|
2672
|
+
const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.production.js","children":[{"name":"packages","children":[{"name":"query-core/build/esm/index.js","uid":"bfcd-147"},{"name":"react-query/src","children":[{"uid":"bfcd-149","name":"QueryClientProvider.tsx"},{"uid":"bfcd-151","name":"isRestoring.tsx"},{"uid":"bfcd-153","name":"useQueries.ts"},{"uid":"bfcd-155","name":"QueryErrorResetBoundary.tsx"},{"uid":"bfcd-157","name":"utils.ts"},{"uid":"bfcd-159","name":"useBaseQuery.ts"},{"uid":"bfcd-161","name":"useQuery.ts"},{"uid":"bfcd-163","name":"Hydrate.tsx"},{"uid":"bfcd-165","name":"useIsFetching.ts"},{"uid":"bfcd-167","name":"useIsMutating.ts"},{"uid":"bfcd-169","name":"useMutation.ts"},{"uid":"bfcd-171","name":"useInfiniteQuery.ts"},{"uid":"bfcd-173","name":"index.ts"}]}]}]}],"isRoot":true},"nodeParts":{"bfcd-147":{"renderedLength":90730,"gzipLength":17195,"brotliLength":0,"mainUid":"bfcd-146"},"bfcd-149":{"renderedLength":1782,"gzipLength":630,"brotliLength":0,"mainUid":"bfcd-148"},"bfcd-151":{"renderedLength":219,"gzipLength":141,"brotliLength":0,"mainUid":"bfcd-150"},"bfcd-153":{"renderedLength":1446,"gzipLength":596,"brotliLength":0,"mainUid":"bfcd-152"},"bfcd-155":{"renderedLength":792,"gzipLength":325,"brotliLength":0,"mainUid":"bfcd-154"},"bfcd-157":{"renderedLength":283,"gzipLength":177,"brotliLength":0,"mainUid":"bfcd-156"},"bfcd-159":{"renderedLength":3348,"gzipLength":1057,"brotliLength":0,"mainUid":"bfcd-158"},"bfcd-161":{"renderedLength":158,"gzipLength":118,"brotliLength":0,"mainUid":"bfcd-160"},"bfcd-163":{"renderedLength":760,"gzipLength":384,"brotliLength":0,"mainUid":"bfcd-162"},"bfcd-165":{"renderedLength":491,"gzipLength":271,"brotliLength":0,"mainUid":"bfcd-164"},"bfcd-167":{"renderedLength":511,"gzipLength":277,"brotliLength":0,"mainUid":"bfcd-166"},"bfcd-169":{"renderedLength":1078,"gzipLength":480,"brotliLength":0,"mainUid":"bfcd-168"},"bfcd-171":{"renderedLength":162,"gzipLength":124,"brotliLength":0,"mainUid":"bfcd-170"},"bfcd-173":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"bfcd-172"}},"nodeMetas":{"bfcd-146":{"id":"/packages/query-core/build/esm/index.js","moduleParts":{"index.production.js":"bfcd-147"},"imported":[],"importedBy":[{"uid":"bfcd-172"},{"uid":"bfcd-174"},{"uid":"bfcd-152"},{"uid":"bfcd-160"},{"uid":"bfcd-162"},{"uid":"bfcd-164"},{"uid":"bfcd-166"},{"uid":"bfcd-168"},{"uid":"bfcd-170"},{"uid":"bfcd-158"}]},"bfcd-148":{"id":"/packages/react-query/src/QueryClientProvider.tsx","moduleParts":{"index.production.js":"bfcd-149"},"imported":[{"uid":"bfcd-177"}],"importedBy":[{"uid":"bfcd-172"},{"uid":"bfcd-152"},{"uid":"bfcd-162"},{"uid":"bfcd-164"},{"uid":"bfcd-166"},{"uid":"bfcd-168"},{"uid":"bfcd-158"}]},"bfcd-150":{"id":"/packages/react-query/src/isRestoring.tsx","moduleParts":{"index.production.js":"bfcd-151"},"imported":[{"uid":"bfcd-177"}],"importedBy":[{"uid":"bfcd-172"},{"uid":"bfcd-152"},{"uid":"bfcd-158"}]},"bfcd-152":{"id":"/packages/react-query/src/useQueries.ts","moduleParts":{"index.production.js":"bfcd-153"},"imported":[{"uid":"bfcd-177"},{"uid":"bfcd-178"},{"uid":"bfcd-146"},{"uid":"bfcd-148"},{"uid":"bfcd-150"}],"importedBy":[{"uid":"bfcd-172"}]},"bfcd-154":{"id":"/packages/react-query/src/QueryErrorResetBoundary.tsx","moduleParts":{"index.production.js":"bfcd-155"},"imported":[{"uid":"bfcd-177"}],"importedBy":[{"uid":"bfcd-172"},{"uid":"bfcd-158"}]},"bfcd-156":{"id":"/packages/react-query/src/utils.ts","moduleParts":{"index.production.js":"bfcd-157"},"imported":[],"importedBy":[{"uid":"bfcd-168"},{"uid":"bfcd-158"}]},"bfcd-158":{"id":"/packages/react-query/src/useBaseQuery.ts","moduleParts":{"index.production.js":"bfcd-159"},"imported":[{"uid":"bfcd-177"},{"uid":"bfcd-178"},{"uid":"bfcd-146"},{"uid":"bfcd-154"},{"uid":"bfcd-148"},{"uid":"bfcd-156"},{"uid":"bfcd-150"}],"importedBy":[{"uid":"bfcd-160"},{"uid":"bfcd-170"}]},"bfcd-160":{"id":"/packages/react-query/src/useQuery.ts","moduleParts":{"index.production.js":"bfcd-161"},"imported":[{"uid":"bfcd-146"},{"uid":"bfcd-158"}],"importedBy":[{"uid":"bfcd-172"}]},"bfcd-162":{"id":"/packages/react-query/src/Hydrate.tsx","moduleParts":{"index.production.js":"bfcd-163"},"imported":[{"uid":"bfcd-177"},{"uid":"bfcd-146"},{"uid":"bfcd-148"}],"importedBy":[{"uid":"bfcd-172"}]},"bfcd-164":{"id":"/packages/react-query/src/useIsFetching.ts","moduleParts":{"index.production.js":"bfcd-165"},"imported":[{"uid":"bfcd-177"},{"uid":"bfcd-146"},{"uid":"bfcd-178"},{"uid":"bfcd-148"}],"importedBy":[{"uid":"bfcd-172"}]},"bfcd-166":{"id":"/packages/react-query/src/useIsMutating.ts","moduleParts":{"index.production.js":"bfcd-167"},"imported":[{"uid":"bfcd-177"},{"uid":"bfcd-178"},{"uid":"bfcd-146"},{"uid":"bfcd-148"}],"importedBy":[{"uid":"bfcd-172"}]},"bfcd-168":{"id":"/packages/react-query/src/useMutation.ts","moduleParts":{"index.production.js":"bfcd-169"},"imported":[{"uid":"bfcd-177"},{"uid":"bfcd-178"},{"uid":"bfcd-146"},{"uid":"bfcd-148"},{"uid":"bfcd-156"}],"importedBy":[{"uid":"bfcd-172"}]},"bfcd-170":{"id":"/packages/react-query/src/useInfiniteQuery.ts","moduleParts":{"index.production.js":"bfcd-171"},"imported":[{"uid":"bfcd-146"},{"uid":"bfcd-158"}],"importedBy":[{"uid":"bfcd-172"}]},"bfcd-172":{"id":"/packages/react-query/src/index.ts","moduleParts":{"index.production.js":"bfcd-173"},"imported":[{"uid":"bfcd-174"},{"uid":"bfcd-146"},{"uid":"bfcd-175"},{"uid":"bfcd-152"},{"uid":"bfcd-160"},{"uid":"bfcd-148"},{"uid":"bfcd-162"},{"uid":"bfcd-154"},{"uid":"bfcd-164"},{"uid":"bfcd-166"},{"uid":"bfcd-168"},{"uid":"bfcd-170"},{"uid":"bfcd-150"}],"importedBy":[],"isEntry":true},"bfcd-174":{"id":"/packages/react-query/src/setBatchUpdatesFn.ts","moduleParts":{},"imported":[{"uid":"bfcd-146"},{"uid":"bfcd-176"}],"importedBy":[{"uid":"bfcd-172"}]},"bfcd-175":{"id":"/packages/react-query/src/types.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"bfcd-172"}]},"bfcd-176":{"id":"/packages/react-query/src/reactBatchedUpdates.ts","moduleParts":{},"imported":[{"uid":"bfcd-179"}],"importedBy":[{"uid":"bfcd-174"}]},"bfcd-177":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"bfcd-152"},{"uid":"bfcd-148"},{"uid":"bfcd-162"},{"uid":"bfcd-154"},{"uid":"bfcd-164"},{"uid":"bfcd-166"},{"uid":"bfcd-168"},{"uid":"bfcd-150"},{"uid":"bfcd-158"}],"isExternal":true},"bfcd-178":{"id":"use-sync-external-store/shim","moduleParts":{},"imported":[],"importedBy":[{"uid":"bfcd-152"},{"uid":"bfcd-164"},{"uid":"bfcd-166"},{"uid":"bfcd-168"},{"uid":"bfcd-158"}],"isExternal":true},"bfcd-179":{"id":"/node_modules/react-dom/index.js","moduleParts":{},"imported":[],"importedBy":[{"uid":"bfcd-176"}]}},"env":{"rollup":"2.76.0"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
|
|
2673
2673
|
|
|
2674
2674
|
const run = () => {
|
|
2675
2675
|
const width = window.innerWidth;
|