Skip to content

Commit

Permalink
fix: use react19 everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
TkDodo committed May 24, 2024
1 parent e728bfe commit f927611
Show file tree
Hide file tree
Showing 29 changed files with 170 additions and 238 deletions.
4 changes: 2 additions & 2 deletions examples/react/algolia/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"@tanstack/react-query": "^5.37.1",
"@tanstack/react-query-devtools": "^5.37.1",
"algoliasearch": "4.23.3",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react": "19.0.0-rc-4c2e457c7c-20240522"
},
"devDependencies": {
"@tanstack/eslint-plugin-query": "^5.35.6",
Expand Down
4 changes: 2 additions & 2 deletions examples/react/auto-refetching/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"axios": "^1.6.8",
"isomorphic-unfetch": "4.0.2",
"next": "^14.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react": "19.0.0-rc-4c2e457c7c-20240522"
}
}
4 changes: 2 additions & 2 deletions examples/react/basic-graphql-request/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"@tanstack/react-query-devtools": "^5.37.1",
"graphql": "^16.8.1",
"graphql-request": "^7.0.1",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react": "19.0.0-rc-4c2e457c7c-20240522"
},
"devDependencies": {
"@vitejs/plugin-react": "^4.2.1",
Expand Down
4 changes: 2 additions & 2 deletions examples/react/basic-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"@tanstack/react-query-devtools": "^5.37.1",
"@tanstack/react-query-persist-client": "^5.37.1",
"axios": "^1.6.8",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react": "19.0.0-rc-4c2e457c7c-20240522"
},
"devDependencies": {
"@tanstack/eslint-plugin-query": "^5.35.6",
Expand Down
4 changes: 2 additions & 2 deletions examples/react/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"@tanstack/react-query": "^5.37.1",
"@tanstack/react-query-devtools": "^5.37.1",
"axios": "^1.6.8",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react": "19.0.0-rc-4c2e457c7c-20240522"
},
"devDependencies": {
"@tanstack/eslint-plugin-query": "^5.35.6",
Expand Down
4 changes: 2 additions & 2 deletions examples/react/default-query-function/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"@tanstack/react-query": "^5.37.1",
"@tanstack/react-query-devtools": "^5.37.1",
"axios": "^1.6.8",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react": "19.0.0-rc-4c2e457c7c-20240522"
},
"devDependencies": {
"@vitejs/plugin-react": "^4.2.1",
Expand Down
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
Expand Up @@ -12,8 +12,8 @@
"axios": "^1.6.8",
"isomorphic-unfetch": "4.0.2",
"next": "^14.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react-intersection-observer": "^8.34.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
Expand Up @@ -12,8 +12,8 @@
"axios": "^1.6.8",
"isomorphic-unfetch": "4.0.2",
"next": "^14.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react-intersection-observer": "^8.34.0"
}
}
4 changes: 2 additions & 2 deletions examples/react/nextjs-suspense-streaming/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"@tanstack/react-query-devtools": "^5.37.1",
"@tanstack/react-query-next-experimental": "^5.37.1",
"next": "^14.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react": "19.0.0-rc-4c2e457c7c-20240522",
"superjson": "^2.2.1"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions examples/react/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"@tanstack/react-query-devtools": "^5.37.1",
"ky": "^1.2.4",
"next": "^14.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react": "19.0.0-rc-4c2e457c7c-20240522",
"resolve-from": "^5.0.0",
"web-streams-polyfill": "^4.0.0"
}
Expand Down
4 changes: 2 additions & 2 deletions examples/react/offline/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"@tanstack/react-query-persist-client": "^5.37.1",
"ky": "^1.2.4",
"msw": "^2.3.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react-hot-toast": "^2.4.1"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions examples/react/optimistic-updates-cache/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"axios": "^1.6.8",
"isomorphic-unfetch": "4.0.2",
"next": "^14.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react": "19.0.0-rc-4c2e457c7c-20240522"
},
"devDependencies": {
"@types/node": "^20.12.12",
Expand Down
4 changes: 2 additions & 2 deletions examples/react/optimistic-updates-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"axios": "^1.6.8",
"isomorphic-unfetch": "4.0.2",
"next": "^14.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react": "19.0.0-rc-4c2e457c7c-20240522"
},
"devDependencies": {
"@types/node": "^20.12.12",
Expand Down
4 changes: 2 additions & 2 deletions examples/react/pagination/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"axios": "^1.6.8",
"isomorphic-unfetch": "4.0.2",
"next": "^14.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react": "19.0.0-rc-4c2e457c7c-20240522"
}
}
4 changes: 2 additions & 2 deletions examples/react/playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"dependencies": {
"@tanstack/react-query": "^5.37.1",
"@tanstack/react-query-devtools": "^5.37.1",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react": "19.0.0-rc-4c2e457c7c-20240522"
},
"devDependencies": {
"@vitejs/plugin-react": "^4.2.1",
Expand Down
4 changes: 2 additions & 2 deletions examples/react/prefetching/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"axios": "^1.6.8",
"isomorphic-unfetch": "4.0.2",
"next": "^14.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react": "19.0.0-rc-4c2e457c7c-20240522"
}
}
2 changes: 1 addition & 1 deletion examples/react/react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"expo": "^51.0.8",
"expo-constants": "^16.0.1",
"expo-status-bar": "^1.12.1",
"react": "^18.2.0",
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react-native": "^0.74.1",
"react-native-gesture-handler": "^2.16.2",
"react-native-paper": "^5.8.0",
Expand Down
4 changes: 2 additions & 2 deletions examples/react/react-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"@tanstack/react-query-devtools": "^5.37.1",
"localforage": "^1.10.0",
"match-sorter": "^6.3.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react-router": "^6.23.1",
"react-router-dom": "^6.23.1",
"rooks": "^7.14.1",
Expand Down
4 changes: 2 additions & 2 deletions examples/react/rick-morty/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"@mui/styles": "^5.15.18",
"@tanstack/react-query": "^5.37.1",
"@tanstack/react-query-devtools": "^5.37.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react-router": "^6.23.1",
"react-router-dom": "^6.23.1"
},
Expand Down
4 changes: 2 additions & 2 deletions examples/react/shadow-dom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"dependencies": {
"@tanstack/react-query": "^5.37.1",
"@tanstack/react-query-devtools": "^5.37.1",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react": "19.0.0-rc-4c2e457c7c-20240522"
},
"devDependencies": {
"@types/react": "^18.2.79",
Expand Down
4 changes: 2 additions & 2 deletions examples/react/simple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"@tanstack/react-query": "^5.37.1",
"@tanstack/react-query-devtools": "^5.37.1",
"axios": "^1.6.8",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react": "19.0.0-rc-4c2e457c7c-20240522"
},
"devDependencies": {
"@vitejs/plugin-react": "^4.2.1",
Expand Down
4 changes: 2 additions & 2 deletions examples/react/star-wars/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"@mui/styles": "^5.15.18",
"@tanstack/react-query": "^5.37.1",
"@tanstack/react-query-devtools": "^5.37.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react-router": "^6.23.1",
"react-router-dom": "^6.23.1"
},
Expand Down
4 changes: 2 additions & 2 deletions examples/react/suspense/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"@tanstack/react-query-devtools": "^5.37.1",
"axios": "^1.6.8",
"font-awesome": "^4.7.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react-error-boundary": "^4.0.13"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions integrations/react-cra4/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"dependencies": {
"@tanstack/react-query": "workspace:*",
"@tanstack/react-query-devtools": "workspace:*",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react-scripts": "^4.0.3"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions integrations/react-cra5/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"dependencies": {
"@tanstack/react-query": "workspace:*",
"@tanstack/react-query-devtools": "workspace:*",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react-scripts": "^5.0.1"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions integrations/react-next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"@tanstack/react-query": "workspace:*",
"@tanstack/react-query-devtools": "workspace:*",
"next": "^14.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react": "19.0.0-rc-4c2e457c7c-20240522"
},
"devDependencies": {
"@types/node": "^20.12.12",
Expand Down
4 changes: 2 additions & 2 deletions integrations/react-vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"@tanstack/react-query": "workspace:*",
"@tanstack/react-query-devtools": "workspace:*",
"@vitejs/plugin-react": "^4.2.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react": "19.0.0-rc-4c2e457c7c-20240522",
"vite": "^5.2.11"
}
}
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@
"@typescript-eslint/eslint-plugin": "$@typescript-eslint/eslint-plugin",
"@typescript-eslint/parser": "$@typescript-eslint/parser",
"eslint": "$eslint",
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react-dom": "19.0.0-rc-4c2e457c7c-20240522",
"@types/react": "npm:types-react@rc",
"@types/react-dom": "npm:types-react-dom@rc"
}
Expand Down
Loading

0 comments on commit f927611

Please sign in to comment.