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

README.md

15 lines827 Bytes

1# TanStack Solid Query Astro 7 Integration
2​
3Checks that `@tanstack/solid-query` and `@tanstack/solid-query-devtools` build and type-check with Astro 7 and `@astrojs/solid-js`.
4​
5## What it checks
6​
7- `src/pages/index.astro` renders the Solid `App` component with `client:load`.
8- `src/components/App.tsx` renders `QueryClientProvider` with `SolidQueryDevtools`, and reads a query with `useQuery` inside `ErrorBoundary` and `Suspense`.
9- `astro.config.ts` adds the `solidJs()` integration, and `tsconfig.json` extends `astro/tsconfigs/strict` with `jsxImportSource: "solid-js"`.
10- CI runs the `build` (`astro build`) and `test:types` (`astro check`) scripts.
11​
12To run it from the repository root:
13​
14- `pnpm nx run @tanstack/query-integration-solid-astro-7:build`
15- `pnpm nx run @tanstack/query-integration-solid-astro-7:test:types`