diff --git a/examples/react/basic/package.json b/examples/react/basic/package.json index 9309198e52..92c8c879fe 100644 --- a/examples/react/basic/package.json +++ b/examples/react/basic/package.json @@ -13,7 +13,8 @@ "broadcast-channel": "^3.4.1", "react": "^18.0.0", "react-dom": "^18.0.0", - "react-query": "^4.0.0-beta.1", + "@tanstack/react-query": "^4.0.0-beta.1", + "@tanstack/react-query-devtools": "^4.0.0-beta.1", "react-scripts": "3.0.1", "stop-runaway-react-effects": "^1.2.0", "styled-components": "^4.3.2" diff --git a/examples/react/basic/src/index.js b/examples/react/basic/src/index.js index cb8c992dc1..755c409705 100644 --- a/examples/react/basic/src/index.js +++ b/examples/react/basic/src/index.js @@ -7,8 +7,8 @@ import { useQueryClient, QueryClient, QueryClientProvider, -} from "react-query"; -import { ReactQueryDevtools } from "react-query/devtools"; +} from "@tanstack/react-query"; +import { ReactQueryDevtools } from "@tanstack/react-query-devtools"; const queryClient = new QueryClient();