0
Fork 0
mirror of https://github.com/TanStack/query.git synced 2026-11-16 22:50:20 +00:00
query/packages/preact-query
History 2026-09-22 14:06:16 +09:00
..
src test({react,preact,svelte}-query/queryOptions): remove dead 'QueriesObserver' type tests duplicated by 'query-core' (#11572) 2026-09-22 14:06:16 +09:00
CHANGELOG.md ci: Version Packages (#11525) 2026-09-21 11:29:33 +02:00
eslint.config.js feat: Preact Adapter (#9935) 2026-02-10 12:02:20 +01:00
package.json ci: Version Packages (#11525) 2026-09-21 11:29:33 +02:00
README.md docs: use the dynamic README header endpoint (#11136) 2026-08-03 13:43:19 +02:00
root.eslint.config.js feat: Preact Adapter (#9935) 2026-02-10 12:02:20 +01:00
root.tsdown.config.js chore: tsup -> tsdown (#11222) 2026-08-18 15:19:43 +02:00
test-setup.ts feat: Preact Adapter (#9935) 2026-02-10 12:02:20 +01:00
tsconfig.json chore(tsconfig.json): narrow 'include' pattern to prevent TS6053 race conditions from tsup bundled config files (#10522) 2026-05-04 03:24:13 +09:00
tsconfig.legacy.json feat: Preact Adapter (#9935) 2026-02-10 12:02:20 +01:00
tsconfig.prod.json fix/nodejs timeout (#10325) 2026-03-23 15:58:17 +01:00
tsdown.config.ts chore: tsup -> tsdown (#11222) 2026-08-18 15:19:43 +02:00
vite.config.ts fix(tests): disable local coverage instrumentation (#10776) 2026-05-26 17:29:33 +02:00

TanStack Preact Query

Hooks for fetching, caching and updating asynchronous data in Preact

#TanStack semantic-release Join the discussion on Github Best of JS Gitpod Ready-to-Code

Enjoy this library? Try the entire TanStack! TanStack Table, TanStack Router, TanStack Virtual, React Charts, React Ranger

Visit tanstack.com/query for docs, guides, API and more!

Quick Features

  • Transport/protocol/backend agnostic data fetching (REST, GraphQL, promises, whatever!)
  • Auto Caching + Refetching (stale-while-revalidate, Window Refocus, Polling/Realtime)
  • Parallel + Dependent Queries
  • Mutations + Reactive Query Refetching
  • Multi-layer Cache + Automatic Garbage Collection
  • Paginated + Cursor-based Queries
  • Load-More + Infinite Scroll Queries w/ Scroll Recovery
  • Request Cancellation
  • Preact Suspense + Fetch-As-You-Render Query Prefetching -- Though not recommended because of the bulk preact/compat adds
  • Dedicated Devtools

Become a Sponsor!