0
Fork 0
mirror of https://github.com/TanStack/query.git synced 2026-11-16 22:50:20 +00:00
query/packages/react-query
Wonsuk Choi a10839824c
fix(react-query*): declare '@types/react' as an optional peer dependency (#11728)
* fix(react-query*): declare '@types/react' as a peer dependency like 'react-query-devtools'

* fix(react-query*): mark '@types/react' as an optional peer dependency
History 2026-10-17 18:07:05 +02:00
..
src fix(query-core): preserve union narrowing in setQueryData updaters (#11935) 2026-10-15 09:36:14 +02:00
CHANGELOG.md ci: Version Packages (#11998) 2026-10-15 09:50:17 +02:00
oxlint.config.ts chore(*): pass the root 'settings' to the package oxlint configs, which 'extends' does not inherit (#11941) 2026-10-10 01:39:06 +09:00
package.json fix(react-query*): declare '@types/react' as an optional peer dependency (#11728) 2026-10-17 18:07:05 +02:00
README.md docs({react-query,preact-query,solid-query,svelte-query}/README): point the CI badge at the 'release.yml' workflow on 'main' (#11633) 2026-09-25 17:14:12 +09:00
root.oxlint.config.ts chore: replace eslint with oxlint (#11938) 2026-10-09 16:35:33 +01:00
root.tsdown.config.js chore: tsup -> tsdown (#11222) 2026-08-18 15:19:43 +02:00
test-setup.ts chore: examples to react19 (#8408) 2024-12-10 16:06:34 +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 chore: move from paths to customCondition (#9042) 2025-04-23 09:54:51 +02: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 React Query

Hooks for fetching, caching and updating asynchronous data in React

#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
  • React Suspense + Fetch-As-You-Render Query Prefetching
  • Dedicated Devtools

Become a Sponsor!