Open History to see the last commit
1# TanStack React Query Vite Integration
2β
3Checks that `@tanstack/react-query` and `@tanstack/react-query-devtools` build and type-check with Vite and React 19.
4β
5## What it checks
6β
7- `src/main.tsx` renders the app inside `React.StrictMode` and `QueryClientProvider` together with `ReactQueryDevtools`.
8- `src/App.tsx` reads a query with `useQuery` and renders its pending, error, and success states.
9- `vite.config.ts` uses `@vitejs/plugin-react`.
10- CI runs the `build` (`vite build`) and `test:types` (`tsc --noEmit`) scripts.
11β
12To run it from the repository root:
13β
14- `pnpm nx run @tanstack/query-integration-react-vite:build`
15- `pnpm nx run @tanstack/query-integration-react-vite:test:types`