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