文件最后提交记录最后更新时间
1 天前
13 小时前
7 天前
1 天前
13 小时前
7 个月前
1 个月前
7 个月前
4 个月前
7 个月前
6 个月前
1 个月前
4 个月前
README

TanStack Preact Query

Hooks for fetching, caching and updating asynchronous data in Preact

#TanStack Release status 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!