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.47.0
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.48.0
Choose a head ref
  • 2 commits
  • 77 files changed
  • 4 contributors

Commits on Jun 25, 2024

  1. feat(core): Add possibility to pass a callback to enabled. (#7566)

    * Add possibility to pass a callback to enabled.
    
    * Refactor into using the same pattern as resolving staletime, with the use of a resolveEnabled util function
    
    * Update tests for enabled option as a callback
    
    * update docs
    
    * remove typo
    
    * Update enabled type in docs
    
    * remove duplicated test case
    
    * Fix eslint errors
    
    ---------
    
    Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
    Co-authored-by: John Pettersson <john.pettersson@carnegie.se>
    3 people authored Jun 25, 2024
    Copy the full SHA
    31b9ab4 View commit details
  2. release: v5.48.0

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

If you ever want to disable a query from automatically running, you can use the `enabled = false` option.
If you ever want to disable a query from automatically running, you can use the `enabled = false` option. The enabled option also accepts a callback that returns a boolean.

When `enabled` is `false`:

31 changes: 31 additions & 0 deletions docs/framework/react/react-native.md
Original file line number Diff line number Diff line change
@@ -143,3 +143,34 @@ function MyComponent() {
return <Text>DataUpdatedAt: {dataUpdatedAt}</Text>
}
```

## Disable queries on out of focus screens

Enabled can also be set to a callback to support disabling queries on out of focus screens without state and re-rendering on navigation, similar to how notifyOnChangeProps works but in addition it wont trigger refetching when invalidating queries with refetchType active.

```tsx
import React from 'react'
import { useFocusEffect } from '@react-navigation/native'

export function useQueryFocusAware(notifyOnChangeProps?: NotifyOnChangeProps) {
const focusedRef = React.useRef(true)

useFocusEffect(
React.useCallback(() => {
focusedRef.current = true

return () => {
focusedRef.current = false
}
}, []),
)

return () => focusRef.current

useQuery({
queryKey: ['key'],
queryFn: () => fetch(...),
enabled: () => focusedRef.current,
})
}
```
2 changes: 1 addition & 1 deletion docs/framework/react/reference/useQuery.md
Original file line number Diff line number Diff line change
@@ -70,7 +70,7 @@ const {
- The function that the query will use to request data.
- Receives a [QueryFunctionContext](../../guides/query-functions#queryfunctioncontext)
- Must return a promise that will either resolve data or throw an error. The data cannot be `undefined`.
- `enabled: boolean`
- `enabled: boolean | (query: Query) => boolean`
- Set this to `false` to disable this query from automatically running.
- Can be used for [Dependent Queries](../../guides/dependent-queries).
- `networkMode: 'online' | 'always' | 'offlineFirst`
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.47.0",
"@tanstack/angular-query-experimental": "^5.48.0",
"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.47.0",
"@tanstack/angular-query-devtools-experimental": "^5.48.0",
"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.47.0",
"@tanstack/angular-query-experimental": "^5.48.0",
"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.47.0",
"@tanstack/angular-query-devtools-experimental": "^5.48.0",
"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.47.0",
"@tanstack/angular-query-experimental": "^5.48.0",
"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.47.0",
"@tanstack/angular-query-devtools-experimental": "^5.48.0",
"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.47.0",
"@tanstack/angular-query-experimental": "^5.48.0",
"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.47.0",
"@tanstack/angular-query-devtools-experimental": "^5.48.0",
"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.47.0",
"@tanstack/react-query-devtools": "^5.47.0",
"@tanstack/react-query": "^5.48.0",
"@tanstack/react-query-devtools": "^5.48.0",
"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
@@ -7,8 +7,8 @@
"start": "next start"
},
"dependencies": {
"@tanstack/react-query": "^5.47.0",
"@tanstack/react-query-devtools": "^5.47.0",
"@tanstack/react-query": "^5.48.0",
"@tanstack/react-query-devtools": "^5.48.0",
"axios": "^1.6.8",
"isomorphic-unfetch": "4.0.2",
"next": "^14.0.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.47.0",
"@tanstack/react-query-devtools": "^5.47.0",
"@tanstack/react-query": "^5.48.0",
"@tanstack/react-query-devtools": "^5.48.0",
"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-typescript/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.47.0",
"@tanstack/react-query": "^5.47.0",
"@tanstack/react-query-devtools": "^5.47.0",
"@tanstack/react-query-persist-client": "^5.47.0",
"@tanstack/query-sync-storage-persister": "^5.48.0",
"@tanstack/react-query": "^5.48.0",
"@tanstack/react-query-devtools": "^5.48.0",
"@tanstack/react-query-persist-client": "^5.48.0",
"axios": "^1.6.8",
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react-dom": "19.0.0-rc-4c2e457c7c-20240522"
4 changes: 2 additions & 2 deletions examples/react/basic/package.json
Original file line number Diff line number Diff line change
@@ -8,8 +8,8 @@
"preview": "vite preview"
},
"dependencies": {
"@tanstack/react-query": "^5.47.0",
"@tanstack/react-query-devtools": "^5.47.0",
"@tanstack/react-query": "^5.48.0",
"@tanstack/react-query-devtools": "^5.48.0",
"axios": "^1.6.8",
"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.47.0",
"@tanstack/react-query-devtools": "^5.47.0",
"@tanstack/react-query": "^5.48.0",
"@tanstack/react-query-devtools": "^5.48.0",
"axios": "^1.6.8",
"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
@@ -7,8 +7,8 @@
"start": "next start"
},
"dependencies": {
"@tanstack/react-query": "^5.47.0",
"@tanstack/react-query-devtools": "^5.47.0",
"@tanstack/react-query": "^5.48.0",
"@tanstack/react-query-devtools": "^5.48.0",
"axios": "^1.6.8",
"isomorphic-unfetch": "4.0.2",
"next": "^14.0.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
@@ -7,8 +7,8 @@
"start": "next start"
},
"dependencies": {
"@tanstack/react-query": "^5.47.0",
"@tanstack/react-query-devtools": "^5.47.0",
"@tanstack/react-query": "^5.48.0",
"@tanstack/react-query-devtools": "^5.48.0",
"axios": "^1.6.8",
"isomorphic-unfetch": "4.0.2",
"next": "^14.0.0",
4 changes: 2 additions & 2 deletions examples/react/nextjs-app-prefetching/package.json
Original file line number Diff line number Diff line change
@@ -8,8 +8,8 @@
"test:types": "tsc"
},
"dependencies": {
"@tanstack/react-query": "^5.47.0",
"@tanstack/react-query-devtools": "^5.47.0",
"@tanstack/react-query": "^5.48.0",
"@tanstack/react-query-devtools": "^5.48.0",
"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
@@ -8,9 +8,9 @@
"test:types": "tsc"
},
"dependencies": {
"@tanstack/react-query": "^5.47.0",
"@tanstack/react-query-devtools": "^5.47.0",
"@tanstack/react-query-next-experimental": "^5.47.0",
"@tanstack/react-query": "^5.48.0",
"@tanstack/react-query-devtools": "^5.48.0",
"@tanstack/react-query-next-experimental": "^5.48.0",
"next": "^14.0.0",
"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
@@ -7,8 +7,8 @@
"start": "next start"
},
"dependencies": {
"@tanstack/react-query": "^5.47.0",
"@tanstack/react-query-devtools": "^5.47.0",
"@tanstack/react-query": "^5.48.0",
"@tanstack/react-query-devtools": "^5.48.0",
"ky": "^1.2.4",
"next": "^14.0.0",
"react": "^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.47.0",
"@tanstack/query-sync-storage-persister": "^5.48.0",
"@tanstack/react-location": "^3.7.4",
"@tanstack/react-query": "^5.47.0",
"@tanstack/react-query-devtools": "^5.47.0",
"@tanstack/react-query-persist-client": "^5.47.0",
"@tanstack/react-query": "^5.48.0",
"@tanstack/react-query-devtools": "^5.48.0",
"@tanstack/react-query-persist-client": "^5.48.0",
"ky": "^1.2.4",
"msw": "^2.3.0",
"react": "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
@@ -8,8 +8,8 @@
"test:types": "tsc"
},
"dependencies": {
"@tanstack/react-query": "^5.47.0",
"@tanstack/react-query-devtools": "^5.47.0",
"@tanstack/react-query": "^5.48.0",
"@tanstack/react-query-devtools": "^5.48.0",
"axios": "^1.6.8",
"isomorphic-unfetch": "4.0.2",
"next": "^14.0.0",
4 changes: 2 additions & 2 deletions examples/react/optimistic-updates-ui/package.json
Original file line number Diff line number Diff line change
@@ -7,8 +7,8 @@
"start": "next start"
},
"dependencies": {
"@tanstack/react-query": "^5.47.0",
"@tanstack/react-query-devtools": "^5.47.0",
"@tanstack/react-query": "^5.48.0",
"@tanstack/react-query-devtools": "^5.48.0",
"axios": "^1.6.8",
"isomorphic-unfetch": "4.0.2",
"next": "^14.0.0",
4 changes: 2 additions & 2 deletions examples/react/pagination/package.json
Original file line number Diff line number Diff line change
@@ -7,8 +7,8 @@
"start": "next start"
},
"dependencies": {
"@tanstack/react-query": "^5.47.0",
"@tanstack/react-query-devtools": "^5.47.0",
"@tanstack/react-query": "^5.48.0",
"@tanstack/react-query-devtools": "^5.48.0",
"axios": "^1.6.8",
"isomorphic-unfetch": "4.0.2",
"next": "^14.0.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.47.0",
"@tanstack/react-query-devtools": "^5.47.0",
"@tanstack/react-query": "^5.48.0",
"@tanstack/react-query-devtools": "^5.48.0",
"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
@@ -7,8 +7,8 @@
"start": "next start"
},
"dependencies": {
"@tanstack/react-query": "^5.47.0",
"@tanstack/react-query-devtools": "^5.47.0",
"@tanstack/react-query": "^5.48.0",
"@tanstack/react-query-devtools": "^5.48.0",
"axios": "^1.6.8",
"isomorphic-unfetch": "4.0.2",
"next": "^14.0.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.47.0",
"@tanstack/react-query-devtools": "^5.47.0",
"@tanstack/react-query": "^5.48.0",
"@tanstack/react-query-devtools": "^5.48.0",
"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.47.0",
"@tanstack/react-query-devtools": "^5.47.0",
"@tanstack/react-query": "^5.48.0",
"@tanstack/react-query-devtools": "^5.48.0",
"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.47.0",
"@tanstack/react-query-devtools": "^5.47.0",
"@tanstack/react-query": "^5.48.0",
"@tanstack/react-query-devtools": "^5.48.0",
"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
@@ -10,8 +10,8 @@
"preview": "vite preview"
},
"dependencies": {
"@tanstack/react-query": "^5.47.0",
"@tanstack/react-query-devtools": "^5.47.0",
"@tanstack/react-query": "^5.48.0",
"@tanstack/react-query-devtools": "^5.48.0",
"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.47.0",
"@tanstack/react-query-devtools": "^5.47.0",
"@tanstack/react-query": "^5.48.0",
"@tanstack/react-query-devtools": "^5.48.0",
"axios": "^1.6.8",
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react-dom": "19.0.0-rc-4c2e457c7c-20240522"
4 changes: 2 additions & 2 deletions examples/react/star-wars/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.47.0",
"@tanstack/react-query-devtools": "^5.47.0",
"@tanstack/react-query": "^5.48.0",
"@tanstack/react-query-devtools": "^5.48.0",
"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/suspense/package.json
Original file line number Diff line number Diff line change
@@ -3,8 +3,8 @@
"private": true,
"type": "module",
"dependencies": {
"@tanstack/react-query": "^5.47.0",
"@tanstack/react-query-devtools": "^5.47.0",
"@tanstack/react-query": "^5.48.0",
"@tanstack/react-query-devtools": "^5.48.0",
"axios": "^1.6.8",
"font-awesome": "^4.7.0",
"react": "19.0.0-rc-4c2e457c7c-20240522",
Loading