Open History to see the last commit
TanStack Lit Query Vite Integration#
Checks that @tanstack/lit-query builds and type-checks with Vite and Lit 3.
What it checks#
src/main.tsextendsQueryClientProvideraslit-query-providerand sets itsclientto aQueryClientwithretry: false.src/main.tsdefineslit-query-app, which reads a query withcreateQueryControllerand renders its pending, error, and success states. Both elements render into light DOM (createRenderRootreturnsthis).tsconfig.jsonsetsuseDefineForClassFields: false.- CI runs the
build(vite build) andtest:types(tsc --noEmit) scripts.
To run it from the repository root:
pnpm nx run @tanstack/query-integration-lit-vite:buildpnpm nx run @tanstack/query-integration-lit-vite:test:types