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

README.md

15 lines808 Bytes

1# TanStack Solid Query SolidStart 2 Integration
2​
3Checks that `@tanstack/solid-query` and `@tanstack/solid-query-devtools` build and type-check with SolidStart 2.
4​
5## What it checks
6​
7- `src/app.tsx` renders `QueryClientProvider` with `SolidQueryDevtools`, and reads a query with `useQuery` and renders its states with `Switch` and `Match`.
8- `src/entry-client.tsx` mounts `StartClient`, and `src/entry-server.tsx` renders the document with `StartServer` and `createHandler`.
9- `vite.config.ts` uses the `solidStart()` and `nitro()` Vite plugins.
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-solid-start-2:build`
15- `pnpm nx run @tanstack/query-integration-solid-solid-start-2:test:types`