Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: TanStack/query
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v5.51.3
Choose a base ref
...
head repository: TanStack/query
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v5.51.4
Choose a head ref
  • 4 commits
  • 76 files changed
  • 4 contributors

Commits on Jul 17, 2024

  1. chore(utils): Ensure consistent declaration style of utility function…

    …s and standardize parameters for the sleep method (#7554)
    
    * refactor: Changed parameter names to match those in other sleep utility functions.
    
    * refactor: Most utility functions are defined as regular functions, updated this one to match.
    
    * fix: formatting
    Lennon57 authored Jul 17, 2024
    Copy the full SHA
    95d814a View commit details
  2. docs: Update Streaming with Server Components docs to reflect correct…

    … usage (#7725)
    
    * chore: update Streaming with Server Components docs to reflect correct usage
    
    * chore: update Streaming with Server Components to show moving the getQueryClient function
    
    * chore: fix prettier styling
    
    ---------
    
    Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
    Aerilym and TkDodo authored Jul 17, 2024
    Copy the full SHA
    a1ce3c4 View commit details
  3. fix(core): do not invoke getNextPageParam or getPreviousPageParam if …

    …there is we have empty pages in the cache (#7743)
    TkDodo authored Jul 17, 2024
    Copy the full SHA
    7edf587 View commit details
  4. release: v5.51.4

    tannerlinsley committed Jul 17, 2024
    Copy the full SHA
    5c50ca7 View commit details
Showing with 297 additions and 243 deletions.
  1. +25 −5 docs/framework/react/guides/advanced-ssr.md
  2. +2 −2 examples/angular/basic/package.json
  3. +2 −2 examples/angular/infinite-query-with-max-pages/package.json
  4. +2 −2 examples/angular/router/package.json
  5. +2 −2 examples/angular/simple/package.json
  6. +2 −2 examples/react/algolia/package.json
  7. +2 −2 examples/react/auto-refetching/package.json
  8. +2 −2 examples/react/basic-graphql-request/package.json
  9. +4 −4 examples/react/basic/package.json
  10. +2 −2 examples/react/default-query-function/package.json
  11. +2 −2 examples/react/infinite-query-with-max-pages/package.json
  12. +2 −2 examples/react/load-more-infinite-scroll/package.json
  13. +2 −2 examples/react/nextjs-app-prefetching/package.json
  14. +3 −3 examples/react/nextjs-suspense-streaming/package.json
  15. +2 −2 examples/react/nextjs/package.json
  16. +4 −4 examples/react/offline/package.json
  17. +2 −2 examples/react/optimistic-updates-cache/package.json
  18. +2 −2 examples/react/optimistic-updates-ui/package.json
  19. +2 −2 examples/react/pagination/package.json
  20. +2 −2 examples/react/playground/package.json
  21. +2 −2 examples/react/prefetching/package.json
  22. +2 −2 examples/react/react-native/package.json
  23. +2 −2 examples/react/react-router/package.json
  24. +2 −2 examples/react/rick-morty/package.json
  25. +2 −2 examples/react/shadow-dom/package.json
  26. +2 −2 examples/react/simple/package.json
  27. +2 −2 examples/react/star-wars/package.json
  28. +2 −2 examples/react/suspense/package.json
  29. +2 −2 examples/solid/astro/package.json
  30. +2 −2 examples/solid/basic-graphql-request/package.json
  31. +2 −2 examples/solid/basic/package.json
  32. +2 −2 examples/solid/default-query-function/package.json
  33. +2 −2 examples/solid/simple/package.json
  34. +2 −2 examples/solid/solid-start-streaming/package.json
  35. +2 −2 examples/svelte/auto-refetching/package.json
  36. +2 −2 examples/svelte/basic/package.json
  37. +2 −2 examples/svelte/load-more-infinite-scroll/package.json
  38. +2 −2 examples/svelte/optimistic-updates-typescript/package.json
  39. +2 −2 examples/svelte/playground/package.json
  40. +2 −2 examples/svelte/simple/package.json
  41. +2 −2 examples/svelte/ssr/package.json
  42. +2 −2 examples/svelte/star-wars/package.json
  43. +1 −1 examples/vue/2.6-basic/package.json
  44. +1 −1 examples/vue/2.7-basic/package.json
  45. +2 −2 examples/vue/basic/package.json
  46. +1 −1 examples/vue/dependent-queries/package.json
  47. +1 −1 examples/vue/nuxt3/package.json
  48. +4 −4 examples/vue/persister/package.json
  49. +2 −2 examples/vue/simple/package.json
  50. +1 −1 packages/angular-query-devtools-experimental/package.json
  51. +1 −1 packages/angular-query-experimental/package.json
  52. +1 −1 packages/query-async-storage-persister/package.json
  53. +1 −1 packages/query-broadcast-client-experimental/package.json
  54. +1 −1 packages/query-core/package.json
  55. +35 −0 packages/query-core/src/__tests__/infiniteQueryObserver.test.tsx
  56. +2 −2 packages/query-core/src/__tests__/utils.ts
  57. +11 −12 packages/query-core/src/infiniteQueryBehavior.ts
  58. +4 −4 packages/query-core/src/utils.ts
  59. +1 −1 packages/query-persist-client-core/package.json
  60. +2 −2 packages/query-persist-client-core/src/__tests__/utils.ts
  61. +1 −1 packages/query-sync-storage-persister/package.json
  62. +1 −1 packages/react-query-devtools/package.json
  63. +1 −1 packages/react-query-next-experimental/package.json
  64. +1 −1 packages/react-query-persist-client/package.json
  65. +1 −1 packages/react-query/package.json
  66. +2 −2 packages/react-query/src/__tests__/utils.tsx
  67. +1 −1 packages/solid-query-devtools/package.json
  68. +1 −1 packages/solid-query-persist-client/package.json
  69. +1 −1 packages/solid-query/package.json
  70. +2 −2 packages/solid-query/src/__tests__/utils.tsx
  71. +1 −1 packages/svelte-query-devtools/package.json
  72. +1 −1 packages/svelte-query-persist-client/package.json
  73. +1 −1 packages/svelte-query/package.json
  74. +1 −1 packages/vue-query-devtools/package.json
  75. +1 −1 packages/vue-query/package.json
  76. +96 −96 pnpm-lock.yaml
30 changes: 25 additions & 5 deletions docs/framework/react/guides/advanced-ssr.md
Original file line number Diff line number Diff line change
@@ -365,7 +365,9 @@ With the prefetching patterns described above, React Query is perfectly compatib

As of React Query v5.40.0, you don't have to `await` all prefetches for this to work, as `pending` Queries can also be dehydrated and sent to the client. This lets you kick off prefetches as early as possible without letting them block an entire Suspense boundary, and streams the _data_ to the client as the query finishes. This can be useful for example if you want to prefetch some content that is only visible after some user interaction, or say if you want to `await` and render the first page of an infinite query, but start prefetching page 2 without blocking rendering.

To make this work, we have to instruct the `queryClient` to also `dehydrate` pending Queries. We can do this globally, or by passing that option directly to `hydrate`:
To make this work, we have to instruct the `queryClient` to also `dehydrate` pending Queries. We can do this globally, or by passing that option directly to `hydrate`.

We will also need to move the `getQueryClient()` function out of our `app/providers.jsx` file as we want to use it in our server component and our client provider.

```tsx
// app/get-query-client.ts
@@ -378,15 +380,30 @@ function makeQueryClient() {
staleTime: 60 * 1000,
},
dehydrate: {
// per default, only successful Queries are included,
// this includes pending Queries as well
// include pending queries in dehydration
shouldDehydrateQuery: (query) =>
defaultShouldDehydrateQuery(query) ||
query.state.status === 'pending',
},
},
})
}

let browserQueryClient: QueryClient | undefined = undefined

export function getQueryClient() {
if (isServer) {
// Server: always make a new query client
return makeQueryClient()
} else {
// Browser: make a new query client if we don't already have one
// This is very important, so we don't re-make a new client if React
// suspends during the initial render. This may not be needed if we
// have a suspense boundary BELOW the creation of the query client
if (!browserQueryClient) browserQueryClient = makeQueryClient()
return browserQueryClient
}
}
```

> Note: This works in NextJs and Server Components because React can serialize Promises over the wire when you pass them down to Client Components.
@@ -439,7 +456,7 @@ If you're using non-JSON data types and serialize the query results on the serve
import { QueryClient, defaultShouldDehydrateQuery } from '@tanstack/react-query'
import { deserialize, serialize } from './transformer'

export function makeQueryClient() {
function makeQueryClient() {
return new QueryClient({
defaultOptions: {
// ...
@@ -452,6 +469,8 @@ export function makeQueryClient() {
},
})
}

// ...
```

```tsx
@@ -461,11 +480,12 @@ import {
HydrationBoundary,
QueryClient,
} from '@tanstack/react-query'
import { getQueryClient } from './get-query-client'
import { serialize } from './transformer'
import Posts from './posts'

export default function PostsPage() {
const queryClient = new QueryClient()
const queryClient = getQueryClient()

// look ma, no await
queryClient.prefetchQuery({
4 changes: 2 additions & 2 deletions examples/angular/basic/package.json
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@
"@angular/core": "^17.3.10",
"@angular/platform-browser": "^17.3.10",
"@angular/platform-browser-dynamic": "^17.3.10",
"@tanstack/angular-query-experimental": "^5.51.3",
"@tanstack/angular-query-experimental": "^5.51.4",
"rxjs": "^7.8.1",
"tslib": "^2.6.2",
"zone.js": "^0.14.6"
@@ -23,7 +23,7 @@
"@angular-devkit/build-angular": "^17.3.8",
"@angular/cli": "^17.3.8",
"@angular/compiler-cli": "^17.3.10",
"@tanstack/angular-query-devtools-experimental": "^5.51.3",
"@tanstack/angular-query-devtools-experimental": "^5.51.4",
"typescript": "5.3.3"
}
}
4 changes: 2 additions & 2 deletions examples/angular/infinite-query-with-max-pages/package.json
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@
"@angular/core": "^17.3.10",
"@angular/platform-browser": "^17.3.10",
"@angular/platform-browser-dynamic": "^17.3.10",
"@tanstack/angular-query-experimental": "^5.51.3",
"@tanstack/angular-query-experimental": "^5.51.4",
"rxjs": "^7.8.1",
"tslib": "^2.6.2",
"zone.js": "^0.14.6"
@@ -23,7 +23,7 @@
"@angular-devkit/build-angular": "^17.3.8",
"@angular/cli": "^17.3.8",
"@angular/compiler-cli": "^17.3.10",
"@tanstack/angular-query-devtools-experimental": "^5.51.3",
"@tanstack/angular-query-devtools-experimental": "^5.51.4",
"typescript": "5.3.3"
}
}
4 changes: 2 additions & 2 deletions examples/angular/router/package.json
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@
"@angular/platform-browser": "^17.3.10",
"@angular/platform-browser-dynamic": "^17.3.10",
"@angular/router": "^17.3.10",
"@tanstack/angular-query-experimental": "^5.51.3",
"@tanstack/angular-query-experimental": "^5.51.4",
"rxjs": "^7.8.1",
"tslib": "^2.6.2",
"zone.js": "^0.14.6"
@@ -24,7 +24,7 @@
"@angular-devkit/build-angular": "^17.3.8",
"@angular/cli": "^17.3.8",
"@angular/compiler-cli": "^17.3.10",
"@tanstack/angular-query-devtools-experimental": "^5.51.3",
"@tanstack/angular-query-devtools-experimental": "^5.51.4",
"typescript": "5.3.3"
}
}
4 changes: 2 additions & 2 deletions examples/angular/simple/package.json
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@
"@angular/platform-browser": "^17.3.10",
"@angular/platform-browser-dynamic": "^17.3.10",
"@angular/router": "^17.3.10",
"@tanstack/angular-query-experimental": "^5.51.3",
"@tanstack/angular-query-experimental": "^5.51.4",
"rxjs": "^7.8.1",
"tslib": "^2.6.2",
"zone.js": "^0.14.6"
@@ -24,7 +24,7 @@
"@angular-devkit/build-angular": "^17.3.8",
"@angular/cli": "^17.3.8",
"@angular/compiler-cli": "^17.3.10",
"@tanstack/angular-query-devtools-experimental": "^5.51.3",
"@tanstack/angular-query-devtools-experimental": "^5.51.4",
"typescript": "5.3.3"
}
}
4 changes: 2 additions & 2 deletions examples/react/algolia/package.json
Original file line number Diff line number Diff line change
@@ -11,8 +11,8 @@
"dependencies": {
"@algolia/client-search": "4.23.3",
"@algolia/transporter": "4.23.3",
"@tanstack/react-query": "^5.51.3",
"@tanstack/react-query-devtools": "^5.51.3",
"@tanstack/react-query": "^5.51.4",
"@tanstack/react-query-devtools": "^5.51.4",
"algoliasearch": "4.23.3",
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react-dom": "19.0.0-rc-4c2e457c7c-20240522"
4 changes: 2 additions & 2 deletions examples/react/auto-refetching/package.json
Original file line number Diff line number Diff line change
@@ -8,8 +8,8 @@
"start": "next start"
},
"dependencies": {
"@tanstack/react-query": "^5.51.3",
"@tanstack/react-query-devtools": "^5.51.3",
"@tanstack/react-query": "^5.51.4",
"@tanstack/react-query-devtools": "^5.51.4",
"next": "^14.2.4",
"react": "^18.2.0",
"react-dom": "^18.2.0"
4 changes: 2 additions & 2 deletions examples/react/basic-graphql-request/package.json
Original file line number Diff line number Diff line change
@@ -8,8 +8,8 @@
"preview": "vite preview"
},
"dependencies": {
"@tanstack/react-query": "^5.51.3",
"@tanstack/react-query-devtools": "^5.51.3",
"@tanstack/react-query": "^5.51.4",
"@tanstack/react-query-devtools": "^5.51.4",
"graphql": "^16.8.1",
"graphql-request": "^7.0.1",
"react": "19.0.0-rc-4c2e457c7c-20240522",
8 changes: 4 additions & 4 deletions examples/react/basic/package.json
Original file line number Diff line number Diff line change
@@ -9,10 +9,10 @@
"test:types": "tsc"
},
"dependencies": {
"@tanstack/query-sync-storage-persister": "^5.51.3",
"@tanstack/react-query": "^5.51.3",
"@tanstack/react-query-devtools": "^5.51.3",
"@tanstack/react-query-persist-client": "^5.51.3",
"@tanstack/query-sync-storage-persister": "^5.51.4",
"@tanstack/react-query": "^5.51.4",
"@tanstack/react-query-devtools": "^5.51.4",
"@tanstack/react-query-persist-client": "^5.51.4",
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react-dom": "19.0.0-rc-4c2e457c7c-20240522"
},
4 changes: 2 additions & 2 deletions examples/react/default-query-function/package.json
Original file line number Diff line number Diff line change
@@ -8,8 +8,8 @@
"preview": "vite preview"
},
"dependencies": {
"@tanstack/react-query": "^5.51.3",
"@tanstack/react-query-devtools": "^5.51.3",
"@tanstack/react-query": "^5.51.4",
"@tanstack/react-query-devtools": "^5.51.4",
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react-dom": "19.0.0-rc-4c2e457c7c-20240522"
},
4 changes: 2 additions & 2 deletions examples/react/infinite-query-with-max-pages/package.json
Original file line number Diff line number Diff line change
@@ -8,8 +8,8 @@
"start": "next start"
},
"dependencies": {
"@tanstack/react-query": "^5.51.3",
"@tanstack/react-query-devtools": "^5.51.3",
"@tanstack/react-query": "^5.51.4",
"@tanstack/react-query-devtools": "^5.51.4",
"next": "^14.2.4",
"react": "^18.2.0",
"react-dom": "^18.2.0"
4 changes: 2 additions & 2 deletions examples/react/load-more-infinite-scroll/package.json
Original file line number Diff line number Diff line change
@@ -8,8 +8,8 @@
"start": "next start"
},
"dependencies": {
"@tanstack/react-query": "^5.51.3",
"@tanstack/react-query-devtools": "^5.51.3",
"@tanstack/react-query": "^5.51.4",
"@tanstack/react-query-devtools": "^5.51.4",
"next": "^14.2.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
4 changes: 2 additions & 2 deletions examples/react/nextjs-app-prefetching/package.json
Original file line number Diff line number Diff line change
@@ -9,8 +9,8 @@
"test:types": "tsc"
},
"dependencies": {
"@tanstack/react-query": "^5.51.3",
"@tanstack/react-query-devtools": "^5.51.3",
"@tanstack/react-query": "^5.51.4",
"@tanstack/react-query-devtools": "^5.51.4",
"next": "^15.0.0-rc.0",
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react-dom": "19.0.0-rc-4c2e457c7c-20240522"
6 changes: 3 additions & 3 deletions examples/react/nextjs-suspense-streaming/package.json
Original file line number Diff line number Diff line change
@@ -9,9 +9,9 @@
"test:types": "tsc"
},
"dependencies": {
"@tanstack/react-query": "^5.51.3",
"@tanstack/react-query-devtools": "^5.51.3",
"@tanstack/react-query-next-experimental": "^5.51.3",
"@tanstack/react-query": "^5.51.4",
"@tanstack/react-query-devtools": "^5.51.4",
"@tanstack/react-query-next-experimental": "^5.51.4",
"next": "^14.2.4",
"react": "^18.2.0",
"react-dom": "^18.2.0"
4 changes: 2 additions & 2 deletions examples/react/nextjs/package.json
Original file line number Diff line number Diff line change
@@ -8,8 +8,8 @@
"start": "next start"
},
"dependencies": {
"@tanstack/react-query": "^5.51.3",
"@tanstack/react-query-devtools": "^5.51.3",
"@tanstack/react-query": "^5.51.4",
"@tanstack/react-query-devtools": "^5.51.4",
"next": "^14.2.4",
"react": "^18.2.0",
"react-dom": "^18.2.0"
8 changes: 4 additions & 4 deletions examples/react/offline/package.json
Original file line number Diff line number Diff line change
@@ -8,11 +8,11 @@
"preview": "vite preview"
},
"dependencies": {
"@tanstack/query-sync-storage-persister": "^5.51.3",
"@tanstack/query-sync-storage-persister": "^5.51.4",
"@tanstack/react-location": "^3.7.4",
"@tanstack/react-query": "^5.51.3",
"@tanstack/react-query-devtools": "^5.51.3",
"@tanstack/react-query-persist-client": "^5.51.3",
"@tanstack/react-query": "^5.51.4",
"@tanstack/react-query-devtools": "^5.51.4",
"@tanstack/react-query-persist-client": "^5.51.4",
"msw": "^2.3.0",
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react-dom": "19.0.0-rc-4c2e457c7c-20240522",
4 changes: 2 additions & 2 deletions examples/react/optimistic-updates-cache/package.json
Original file line number Diff line number Diff line change
@@ -9,8 +9,8 @@
"test:types": "tsc"
},
"dependencies": {
"@tanstack/react-query": "^5.51.3",
"@tanstack/react-query-devtools": "^5.51.3",
"@tanstack/react-query": "^5.51.4",
"@tanstack/react-query-devtools": "^5.51.4",
"next": "^14.2.4",
"react": "^18.2.0",
"react-dom": "^18.2.0"
4 changes: 2 additions & 2 deletions examples/react/optimistic-updates-ui/package.json
Original file line number Diff line number Diff line change
@@ -8,8 +8,8 @@
"start": "next start"
},
"dependencies": {
"@tanstack/react-query": "^5.51.3",
"@tanstack/react-query-devtools": "^5.51.3",
"@tanstack/react-query": "^5.51.4",
"@tanstack/react-query-devtools": "^5.51.4",
"next": "^14.2.4",
"react": "^18.2.0",
"react-dom": "^18.2.0"
4 changes: 2 additions & 2 deletions examples/react/pagination/package.json
Original file line number Diff line number Diff line change
@@ -8,8 +8,8 @@
"start": "next start"
},
"dependencies": {
"@tanstack/react-query": "^5.51.3",
"@tanstack/react-query-devtools": "^5.51.3",
"@tanstack/react-query": "^5.51.4",
"@tanstack/react-query-devtools": "^5.51.4",
"next": "^14.2.4",
"react": "^18.2.0",
"react-dom": "^18.2.0"
4 changes: 2 additions & 2 deletions examples/react/playground/package.json
Original file line number Diff line number Diff line change
@@ -8,8 +8,8 @@
"preview": "vite preview"
},
"dependencies": {
"@tanstack/react-query": "^5.51.3",
"@tanstack/react-query-devtools": "^5.51.3",
"@tanstack/react-query": "^5.51.4",
"@tanstack/react-query-devtools": "^5.51.4",
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react-dom": "19.0.0-rc-4c2e457c7c-20240522"
},
4 changes: 2 additions & 2 deletions examples/react/prefetching/package.json
Original file line number Diff line number Diff line change
@@ -8,8 +8,8 @@
"start": "next start"
},
"dependencies": {
"@tanstack/react-query": "^5.51.3",
"@tanstack/react-query-devtools": "^5.51.3",
"@tanstack/react-query": "^5.51.4",
"@tanstack/react-query-devtools": "^5.51.4",
"next": "^14.2.4",
"react": "^18.2.0",
"react-dom": "^18.2.0"
4 changes: 2 additions & 2 deletions examples/react/react-native/package.json
Original file line number Diff line number Diff line change
@@ -14,8 +14,8 @@
"@react-native-community/netinfo": "^11.3.1",
"@react-navigation/native": "^6.1.6",
"@react-navigation/stack": "^6.3.16",
"@tanstack/react-query": "^5.51.3",
"@tanstack/react-query-devtools": "^5.51.3",
"@tanstack/react-query": "^5.51.4",
"@tanstack/react-query-devtools": "^5.51.4",
"expo": "^51.0.8",
"expo-constants": "^16.0.1",
"expo-status-bar": "^1.12.1",
4 changes: 2 additions & 2 deletions examples/react/react-router/package.json
Original file line number Diff line number Diff line change
@@ -9,8 +9,8 @@
"test:types": "tsc"
},
"dependencies": {
"@tanstack/react-query": "^5.51.3",
"@tanstack/react-query-devtools": "^5.51.3",
"@tanstack/react-query": "^5.51.4",
"@tanstack/react-query-devtools": "^5.51.4",
"localforage": "^1.10.0",
"match-sorter": "^6.3.4",
"react": "19.0.0-rc-4c2e457c7c-20240522",
4 changes: 2 additions & 2 deletions examples/react/rick-morty/package.json
Original file line number Diff line number Diff line change
@@ -12,8 +12,8 @@
"@emotion/styled": "^11.11.5",
"@mui/material": "^5.15.18",
"@mui/styles": "^5.15.18",
"@tanstack/react-query": "^5.51.3",
"@tanstack/react-query-devtools": "^5.51.3",
"@tanstack/react-query": "^5.51.4",
"@tanstack/react-query-devtools": "^5.51.4",
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react-dom": "19.0.0-rc-4c2e457c7c-20240522",
"react-router": "^6.23.1",
4 changes: 2 additions & 2 deletions examples/react/shadow-dom/package.json
Original file line number Diff line number Diff line change
@@ -9,8 +9,8 @@
"preview": "vite preview"
},
"dependencies": {
"@tanstack/react-query": "^5.51.3",
"@tanstack/react-query-devtools": "^5.51.3",
"@tanstack/react-query": "^5.51.4",
"@tanstack/react-query-devtools": "^5.51.4",
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react-dom": "19.0.0-rc-4c2e457c7c-20240522"
},
4 changes: 2 additions & 2 deletions examples/react/simple/package.json
Original file line number Diff line number Diff line change
@@ -8,8 +8,8 @@
"preview": "vite preview"
},
"dependencies": {
"@tanstack/react-query": "^5.51.3",
"@tanstack/react-query-devtools": "^5.51.3",
"@tanstack/react-query": "^5.51.4",
"@tanstack/react-query-devtools": "^5.51.4",
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react-dom": "19.0.0-rc-4c2e457c7c-20240522"
},
Loading