Skip to content

Commit 76278bb

Browse files
authored
Merge branch 'main' into test/query
2 parents 3d5f226 + 08cb4b6 commit 76278bb

File tree

85 files changed

+296
-179
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+296
-179
lines changed

docs/framework/react/devtools.md

+1-5
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,7 @@ Wave your hands in the air and shout hooray because React Query comes with dedic
77

88
When you begin your React Query journey, you'll want these devtools by your side. They help visualize all the inner workings of React Query and will likely save you hours of debugging if you find yourself in a pinch!
99

10-
> Please note that for now, the devtools **do not support React Native**. If you would like to help us make the devtools platform-agnostic, please let us know!
11-
12-
> Exciting News: We now have a separate package for React Native React Query DevTools! This new addition brings native support, allowing you to integrate DevTools directly into your React Native projects. Check it out and contribute here: [react-native-react-query-devtools](https://github.com/LovesWorking/react-native-react-query-devtools)
13-
14-
> An external tool is also available that enables the use of React Query DevTools via an external dashboard. Find out more and contribute on [react-query-external-sync](https://github.com/LovesWorking/react-query-external-sync)
10+
> For React Native users: A third-party native macOS app is available for debugging React Query in ANY js-based application. Monitor queries across devices in real-time. Check it out here: [rn-better-dev-tools](https://github.com/LovesWorking/rn-better-dev-tools)
1511
1612
> Note that since version 5, the dev tools support observing mutations as well.
1713

docs/framework/react/react-native.md

+10-5
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,20 @@ id: react-native
33
title: React Native
44
---
55

6-
React Query is designed to work out of the box with React Native, with the exception of the devtools, which are only supported with React DOM at this time.
6+
React Query is designed to work out of the box with React Native.
77

8-
There is a 3rd party [Expo](https://docs.expo.dev/) plugin which you can try: https://github.com/expo/dev-plugins/tree/main/packages/react-query
8+
## DevTools Support
99

10-
There is a 3rd party [Flipper](https://fbflipper.com/docs/getting-started/react-native/) plugin which you can try: https://github.com/bgaleotti/react-query-native-devtools
10+
There are several options available for React Native DevTools integration:
1111

12-
There is a 3rd party [Reactotron](https://github.com/infinitered/reactotron/) plugin which you can try: https://github.com/hsndmr/reactotron-react-query
12+
1. **Native macOS App**: A 3rd party app for debugging React Query in any js-based application:
13+
https://github.com/LovesWorking/rn-better-dev-tools
1314

14-
If you would like to help us make the built-in devtools platform agnostic, please let us know!
15+
2. **Flipper Plugin**: A 3rd party plugin for Flipper users:
16+
https://github.com/bgaleotti/react-query-native-devtools
17+
18+
3. **Reactotron Plugin**: A 3rd party plugin for Reactotron users:
19+
https://github.com/hsndmr/reactotron-react-query
1520

1621
## Online status management
1722

examples/angular/auto-refetching/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"@angular/core": "^19.2.4",
1515
"@angular/platform-browser": "^19.2.4",
1616
"@angular/platform-browser-dynamic": "^19.2.4",
17-
"@tanstack/angular-query-experimental": "^5.75.8",
17+
"@tanstack/angular-query-experimental": "^5.76.0",
1818
"rxjs": "^7.8.2",
1919
"tslib": "^2.8.1",
2020
"zone.js": "0.15.0"

examples/angular/basic-persister/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
"@angular/core": "^19.2.4",
1515
"@angular/platform-browser": "^19.2.4",
1616
"@angular/platform-browser-dynamic": "^19.2.4",
17-
"@tanstack/angular-query-experimental": "^5.75.8",
17+
"@tanstack/angular-query-experimental": "^5.76.0",
1818
"@tanstack/angular-query-persist-client": "^5.62.7",
19-
"@tanstack/query-sync-storage-persister": "^5.75.7",
19+
"@tanstack/query-sync-storage-persister": "^5.76.0",
2020
"rxjs": "^7.8.2",
2121
"tslib": "^2.8.1",
2222
"zone.js": "^0.15.0"

examples/angular/basic/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"@angular/core": "^19.2.4",
1515
"@angular/platform-browser": "^19.2.4",
1616
"@angular/platform-browser-dynamic": "^19.2.4",
17-
"@tanstack/angular-query-experimental": "^5.75.8",
17+
"@tanstack/angular-query-experimental": "^5.76.0",
1818
"rxjs": "^7.8.2",
1919
"tslib": "^2.8.1",
2020
"zone.js": "0.15.0"

examples/angular/devtools-panel/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"@angular/platform-browser": "^19.2.4",
1616
"@angular/platform-browser-dynamic": "^19.2.4",
1717
"@angular/router": "^19.2.4",
18-
"@tanstack/angular-query-devtools-experimental": "^5.75.8",
19-
"@tanstack/angular-query-experimental": "^5.75.8",
18+
"@tanstack/angular-query-devtools-experimental": "^5.76.0",
19+
"@tanstack/angular-query-experimental": "^5.76.0",
2020
"rxjs": "^7.8.2",
2121
"tslib": "^2.8.1",
2222
"zone.js": "0.15.0"

examples/angular/infinite-query-with-max-pages/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"@angular/core": "^19.2.4",
1515
"@angular/platform-browser": "^19.2.4",
1616
"@angular/platform-browser-dynamic": "^19.2.4",
17-
"@tanstack/angular-query-experimental": "^5.75.8",
17+
"@tanstack/angular-query-experimental": "^5.76.0",
1818
"rxjs": "^7.8.2",
1919
"tslib": "^2.8.1",
2020
"zone.js": "0.15.0"

examples/angular/optimistic-updates/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"@angular/forms": "^19.2.4",
1616
"@angular/platform-browser": "^19.2.4",
1717
"@angular/platform-browser-dynamic": "^19.2.4",
18-
"@tanstack/angular-query-experimental": "^5.75.8",
18+
"@tanstack/angular-query-experimental": "^5.76.0",
1919
"rxjs": "^7.8.2",
2020
"tslib": "^2.8.1",
2121
"zone.js": "0.15.0"

examples/angular/pagination/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"@angular/core": "^19.2.4",
1515
"@angular/platform-browser": "^19.2.4",
1616
"@angular/platform-browser-dynamic": "^19.2.4",
17-
"@tanstack/angular-query-experimental": "^5.75.8",
17+
"@tanstack/angular-query-experimental": "^5.76.0",
1818
"rxjs": "^7.8.2",
1919
"tslib": "^2.8.1",
2020
"zone.js": "0.15.0"

examples/angular/query-options-from-a-service/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"@angular/platform-browser": "^19.2.4",
1616
"@angular/platform-browser-dynamic": "^19.2.4",
1717
"@angular/router": "^19.2.4",
18-
"@tanstack/angular-query-experimental": "^5.75.8",
18+
"@tanstack/angular-query-experimental": "^5.76.0",
1919
"rxjs": "^7.8.2",
2020
"tslib": "^2.8.1",
2121
"zone.js": "0.15.0"

examples/angular/router/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"@angular/platform-browser": "^19.2.4",
1616
"@angular/platform-browser-dynamic": "^19.2.4",
1717
"@angular/router": "^19.2.4",
18-
"@tanstack/angular-query-experimental": "^5.75.8",
18+
"@tanstack/angular-query-experimental": "^5.76.0",
1919
"rxjs": "^7.8.2",
2020
"tslib": "^2.8.1",
2121
"zone.js": "0.15.0"

examples/angular/rxjs/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"@angular/forms": "^19.2.4",
1616
"@angular/platform-browser": "^19.2.4",
1717
"@angular/platform-browser-dynamic": "^19.2.4",
18-
"@tanstack/angular-query-experimental": "^5.75.8",
18+
"@tanstack/angular-query-experimental": "^5.76.0",
1919
"rxjs": "^7.8.2",
2020
"tslib": "^2.8.1",
2121
"zone.js": "0.15.0"

examples/angular/simple/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"@angular/core": "^19.2.4",
1515
"@angular/platform-browser": "^19.2.4",
1616
"@angular/platform-browser-dynamic": "^19.2.4",
17-
"@tanstack/angular-query-experimental": "^5.75.8",
17+
"@tanstack/angular-query-experimental": "^5.76.0",
1818
"rxjs": "^7.8.2",
1919
"tslib": "^2.8.1",
2020
"zone.js": "0.15.0"

examples/react/algolia/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
},
1010
"dependencies": {
1111
"@algolia/client-search": "5.2.1",
12-
"@tanstack/react-query": "^5.75.7",
13-
"@tanstack/react-query-devtools": "^5.75.7",
12+
"@tanstack/react-query": "^5.76.0",
13+
"@tanstack/react-query-devtools": "^5.76.0",
1414
"react": "^19.0.0",
1515
"react-dom": "^19.0.0"
1616
},

examples/react/auto-refetching/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"start": "next start"
99
},
1010
"dependencies": {
11-
"@tanstack/react-query": "^5.75.7",
12-
"@tanstack/react-query-devtools": "^5.75.7",
11+
"@tanstack/react-query": "^5.76.0",
12+
"@tanstack/react-query-devtools": "^5.76.0",
1313
"next": "^15.3.1",
1414
"react": "^18.2.0",
1515
"react-dom": "^18.2.0"

examples/react/basic-graphql-request/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"preview": "vite preview"
99
},
1010
"dependencies": {
11-
"@tanstack/react-query": "^5.75.7",
12-
"@tanstack/react-query-devtools": "^5.75.7",
11+
"@tanstack/react-query": "^5.76.0",
12+
"@tanstack/react-query-devtools": "^5.76.0",
1313
"graphql": "^16.9.0",
1414
"graphql-request": "^7.1.2",
1515
"react": "^19.0.0",

examples/react/basic/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
"test:eslint": "eslint ./src"
1010
},
1111
"dependencies": {
12-
"@tanstack/query-sync-storage-persister": "^5.75.7",
13-
"@tanstack/react-query": "^5.75.7",
14-
"@tanstack/react-query-devtools": "^5.75.7",
15-
"@tanstack/react-query-persist-client": "^5.75.7",
12+
"@tanstack/query-sync-storage-persister": "^5.76.0",
13+
"@tanstack/react-query": "^5.76.0",
14+
"@tanstack/react-query-devtools": "^5.76.0",
15+
"@tanstack/react-query-persist-client": "^5.76.0",
1616
"react": "^19.0.0",
1717
"react-dom": "^19.0.0"
1818
},

examples/react/chat/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"preview": "vite preview"
99
},
1010
"dependencies": {
11-
"@tanstack/react-query": "^5.75.7",
12-
"@tanstack/react-query-devtools": "^5.75.7",
11+
"@tanstack/react-query": "^5.76.0",
12+
"@tanstack/react-query-devtools": "^5.76.0",
1313
"react": "^19.0.0",
1414
"react-dom": "^19.0.0"
1515
},

examples/react/default-query-function/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"preview": "vite preview"
99
},
1010
"dependencies": {
11-
"@tanstack/react-query": "^5.75.7",
12-
"@tanstack/react-query-devtools": "^5.75.7",
11+
"@tanstack/react-query": "^5.76.0",
12+
"@tanstack/react-query-devtools": "^5.76.0",
1313
"react": "^19.0.0",
1414
"react-dom": "^19.0.0"
1515
},

examples/react/devtools-panel/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"preview": "vite preview"
99
},
1010
"dependencies": {
11-
"@tanstack/react-query": "^5.75.7",
12-
"@tanstack/react-query-devtools": "^5.75.7",
11+
"@tanstack/react-query": "^5.76.0",
12+
"@tanstack/react-query-devtools": "^5.76.0",
1313
"react": "^19.0.0",
1414
"react-dom": "^19.0.0"
1515
},

examples/react/eslint-legacy/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
"test:eslint": "ESLINT_USE_FLAT_CONFIG=false eslint ./src/**/*.tsx"
1010
},
1111
"dependencies": {
12-
"@tanstack/query-sync-storage-persister": "^5.75.7",
13-
"@tanstack/react-query": "^5.75.7",
14-
"@tanstack/react-query-devtools": "^5.75.7",
15-
"@tanstack/react-query-persist-client": "^5.75.7",
12+
"@tanstack/query-sync-storage-persister": "^5.76.0",
13+
"@tanstack/react-query": "^5.76.0",
14+
"@tanstack/react-query-devtools": "^5.76.0",
15+
"@tanstack/react-query-persist-client": "^5.76.0",
1616
"react": "^19.0.0",
1717
"react-dom": "^19.0.0"
1818
},

examples/react/infinite-query-with-max-pages/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"start": "next start"
99
},
1010
"dependencies": {
11-
"@tanstack/react-query": "^5.75.7",
12-
"@tanstack/react-query-devtools": "^5.75.7",
11+
"@tanstack/react-query": "^5.76.0",
12+
"@tanstack/react-query-devtools": "^5.76.0",
1313
"next": "^15.3.1",
1414
"react": "^18.2.0",
1515
"react-dom": "^18.2.0"

examples/react/load-more-infinite-scroll/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"start": "next start"
99
},
1010
"dependencies": {
11-
"@tanstack/react-query": "^5.75.7",
12-
"@tanstack/react-query-devtools": "^5.75.7",
11+
"@tanstack/react-query": "^5.76.0",
12+
"@tanstack/react-query-devtools": "^5.76.0",
1313
"next": "^15.3.1",
1414
"react": "^18.2.0",
1515
"react-dom": "^18.2.0",

examples/react/nextjs-app-prefetching/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"start": "next start"
99
},
1010
"dependencies": {
11-
"@tanstack/react-query": "^5.75.7",
12-
"@tanstack/react-query-devtools": "^5.75.7",
11+
"@tanstack/react-query": "^5.76.0",
12+
"@tanstack/react-query-devtools": "^5.76.0",
1313
"next": "^15.3.1",
1414
"react": "^19.0.0",
1515
"react-dom": "^19.0.0"

examples/react/nextjs-suspense-streaming/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
"start": "next start"
99
},
1010
"dependencies": {
11-
"@tanstack/react-query": "^5.75.7",
12-
"@tanstack/react-query-devtools": "^5.75.7",
13-
"@tanstack/react-query-next-experimental": "^5.75.7",
11+
"@tanstack/react-query": "^5.76.0",
12+
"@tanstack/react-query-devtools": "^5.76.0",
13+
"@tanstack/react-query-next-experimental": "^5.76.0",
1414
"next": "^15.3.1",
1515
"react": "^18.2.0",
1616
"react-dom": "^18.2.0"

examples/react/nextjs/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"start": "next start"
99
},
1010
"dependencies": {
11-
"@tanstack/react-query": "^5.75.7",
12-
"@tanstack/react-query-devtools": "^5.75.7",
11+
"@tanstack/react-query": "^5.76.0",
12+
"@tanstack/react-query-devtools": "^5.76.0",
1313
"next": "^15.3.1",
1414
"react": "^18.2.0",
1515
"react-dom": "^18.2.0"

examples/react/offline/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
"preview": "vite preview"
99
},
1010
"dependencies": {
11-
"@tanstack/query-sync-storage-persister": "^5.75.7",
11+
"@tanstack/query-sync-storage-persister": "^5.76.0",
1212
"@tanstack/react-location": "^3.7.4",
13-
"@tanstack/react-query": "^5.75.7",
14-
"@tanstack/react-query-devtools": "^5.75.7",
15-
"@tanstack/react-query-persist-client": "^5.75.7",
13+
"@tanstack/react-query": "^5.76.0",
14+
"@tanstack/react-query-devtools": "^5.76.0",
15+
"@tanstack/react-query-persist-client": "^5.76.0",
1616
"msw": "^2.6.6",
1717
"react": "^19.0.0",
1818
"react-dom": "^19.0.0",

examples/react/optimistic-updates-cache/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"start": "next start"
99
},
1010
"dependencies": {
11-
"@tanstack/react-query": "^5.75.7",
12-
"@tanstack/react-query-devtools": "^5.75.7",
11+
"@tanstack/react-query": "^5.76.0",
12+
"@tanstack/react-query-devtools": "^5.76.0",
1313
"next": "^15.3.1",
1414
"react": "^18.2.0",
1515
"react-dom": "^18.2.0"

examples/react/optimistic-updates-ui/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"start": "next start"
99
},
1010
"dependencies": {
11-
"@tanstack/react-query": "^5.75.7",
12-
"@tanstack/react-query-devtools": "^5.75.7",
11+
"@tanstack/react-query": "^5.76.0",
12+
"@tanstack/react-query-devtools": "^5.76.0",
1313
"next": "^15.3.1",
1414
"react": "^18.2.0",
1515
"react-dom": "^18.2.0"

examples/react/pagination/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"start": "next start"
99
},
1010
"dependencies": {
11-
"@tanstack/react-query": "^5.75.7",
12-
"@tanstack/react-query-devtools": "^5.75.7",
11+
"@tanstack/react-query": "^5.76.0",
12+
"@tanstack/react-query-devtools": "^5.76.0",
1313
"next": "^15.3.1",
1414
"react": "^18.2.0",
1515
"react-dom": "^18.2.0"

examples/react/playground/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"preview": "vite preview"
99
},
1010
"dependencies": {
11-
"@tanstack/react-query": "^5.75.7",
12-
"@tanstack/react-query-devtools": "^5.75.7",
11+
"@tanstack/react-query": "^5.76.0",
12+
"@tanstack/react-query-devtools": "^5.76.0",
1313
"react": "^19.0.0",
1414
"react-dom": "^19.0.0"
1515
},

examples/react/prefetching/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"start": "next start"
99
},
1010
"dependencies": {
11-
"@tanstack/react-query": "^5.75.7",
12-
"@tanstack/react-query-devtools": "^5.75.7",
11+
"@tanstack/react-query": "^5.76.0",
12+
"@tanstack/react-query-devtools": "^5.76.0",
1313
"next": "^15.3.1",
1414
"react": "^18.2.0",
1515
"react-dom": "^18.2.0"

examples/react/react-native/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
"@react-native-community/netinfo": "^11.4.1",
1515
"@react-navigation/native": "^6.1.18",
1616
"@react-navigation/stack": "^6.4.1",
17-
"@tanstack/react-query": "^5.75.7",
18-
"@tanstack/react-query-devtools": "^5.75.7",
17+
"@tanstack/react-query": "^5.76.0",
18+
"@tanstack/react-query-devtools": "^5.76.0",
1919
"expo": "^52.0.11",
2020
"expo-constants": "^17.0.3",
2121
"expo-status-bar": "^2.0.0",

examples/react/react-router/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"preview": "vite preview"
99
},
1010
"dependencies": {
11-
"@tanstack/react-query": "^5.75.7",
12-
"@tanstack/react-query-devtools": "^5.75.7",
11+
"@tanstack/react-query": "^5.76.0",
12+
"@tanstack/react-query-devtools": "^5.76.0",
1313
"localforage": "^1.10.0",
1414
"match-sorter": "^6.3.4",
1515
"react": "^19.0.0",

examples/react/rick-morty/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
"@emotion/styled": "^11.13.5",
1313
"@mui/material": "^6.1.8",
1414
"@mui/styles": "^6.1.8",
15-
"@tanstack/react-query": "^5.75.7",
16-
"@tanstack/react-query-devtools": "^5.75.7",
15+
"@tanstack/react-query": "^5.76.0",
16+
"@tanstack/react-query-devtools": "^5.76.0",
1717
"react": "^19.0.0",
1818
"react-dom": "^19.0.0",
1919
"react-router": "^6.25.1",

0 commit comments

Comments
 (0)