Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

README.md

15 lines759 Bytes

1# TanStack Solid Query Vite Integration
2​
3Checks that `@tanstack/solid-query` and `@tanstack/solid-query-devtools` build and type-check with Vite and `vite-plugin-solid`.
4​
5## What it checks
6​
7- `src/index.tsx` renders the app inside `QueryClientProvider` together with `SolidQueryDevtools`.
8- `src/App.tsx` reads a query with `useQuery` and renders its pending, error, and success states with `Switch` and `Match`.
9- `vite.config.ts` uses `vite-plugin-solid`, and `tsconfig.json` sets `jsxImportSource: "solid-js"`.
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-solid-vite:build`
15- `pnpm nx run @tanstack/query-integration-solid-vite:test:types`