integrations/react/vite
| Name | Last commit message | Last commit date |
|---|---|---|
| .. | ||
README.md
TanStack React Query Vite Integration#
Checks that @tanstack/react-query and @tanstack/react-query-devtools build and type-check with Vite and React 19.
What it checks#
src/main.tsxrenders the app insideReact.StrictModeandQueryClientProvidertogether withReactQueryDevtools.src/App.tsxreads a query withuseQueryand renders its pending, error, and success states.vite.config.tsuses@vitejs/plugin-react.- CI runs the
build(vite build) andtest:types(tsc --noEmit) scripts.
To run it from the repository root:
pnpm nx run @tanstack/query-integration-react-vite:buildpnpm nx run @tanstack/query-integration-react-vite:test:types