Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

README.md

119 lines5.6 KB

1<img referrerpolicy="no-referrer-when-downgrade" src="https://static.scarf.sh/a.png?x-pxid=be2d8a11-9712-4c1d-9963-580b2d4fb133" />
2​
3<div align="center">
4 <picture>
5 <source
6 media="(prefers-color-scheme: dark)"
7 srcset="https://tanstack.com/api/readme/query.png?theme=dark"
8 />
9 <source
10 media="(prefers-color-scheme: light)"
11 srcset="https://tanstack.com/api/readme/query.png"
12 />
13 <img
14 src="https://tanstack.com/api/readme/query.png"
15 alt="TanStack Query"
16 width="900"
17 />
18 </picture>
19</div>
20​
21<br />
22​
23<div align="center">
24<a href="https://www.npmjs.com/package/@tanstack/query-core" target="_parent">
25 <img alt="" src="https://img.shields.io/npm/dm/@tanstack/query-core.svg" alt="npm downloads" />
26</a>
27 <a href="https://github.com/TanStack/query/stargazers" target="_parent">
28 <img alt="" src="https://img.shields.io/github/stars/TanStack/query.svg?style=social&label=Star" alt="GitHub stars" />
29</a>
30<a href="https://bundlejs.com/?q=%40tanstack%2Freact-query&config=%7B%22esbuild%22%3A%7B%22external%22%3A%5B%22react%22%2C%22react-dom%22%5D%7D%7D&badge=" target="_parent">
31 <img alt="" src="https://deno.bundlejs.com/?q=@tanstack/react-query&config={%22esbuild%22:{%22external%22:[%22react%22,%22react-dom%22]}}&badge=detailed" alt="Bundle size" />
32</a>
33</div>
34​
35<div align="center">
36<a href="#badge">
37 <img src="https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg" alt="semantic-release">
38 </a>
39<a href="https://bestofjs.org/projects/tanstack-query"><img src="https://img.shields.io/endpoint?url=https://bestofjs-serverless.now.sh/api/project-badge?fullName=TanStack%2Fquery%26since=daily" alt="Best of JS" /></a>
40 <a href="https://twitter.com/tan_stack"><img src="https://img.shields.io/twitter/follow/tan_stack.svg?style=social" alt="Follow @TanStack"/></a>
41</div>
42​
43<div align="center">
44​
45### [Become a Sponsor!](https://github.com/sponsors/tannerlinsley/)
46​
47</div>
48​
49# TanStack Query
50​
51An async state management library built to simplify fetching, caching, synchronizing, and updating server state.
52​
53- Protocol‑agnostic fetching (REST, GraphQL, promises, etc.)
54- Caching, refetching, pagination & infinite scroll
55- Mutations, dependent queries & background updates
56- Prefetching, cancellation & React Suspense support
57​
58### <a href="https://tanstack.com/query">Read the docs →</b></a>
59​
60## Get Involved
61​
62- We welcome issues and pull requests!
63- Participate in [GitHub discussions](https://github.com/TanStack/query/discussions)
64- Chat with the community on [Discord](https://discord.com/invite/WrRKjPJ)
65- See [CONTRIBUTING.md](./CONTRIBUTING.md) for setup instructions
66​
67## Partners
68​
69<table align="center">
70 <tr>
71 <td>
72 <a href="https://www.coderabbit.ai/?via=tanstack&dub_id=aCcEEdAOqqutX6OS" >
73 <picture>
74 <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/TanStack/tanstack.com/main/src/images/coderabbit-dark.svg" />
75 <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/TanStack/tanstack.com/main/src/images/coderabbit-light.svg" />
76 <img src="https://raw.githubusercontent.com/TanStack/tanstack.com/main/src/images/coderabbit-light.svg" height="40" alt="CodeRabbit" />
77 </picture>
78 </a>
79 </td>
80 <td>
81 <a href="https://www.cloudflare.com?utm_source=tanstack">
82 <picture>
83 <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/TanStack/tanstack.com/main/src/images/cloudflare-white.svg" />
84 <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/TanStack/tanstack.com/main/src/images/cloudflare-black.svg" />
85 <img src="https://raw.githubusercontent.com/TanStack/tanstack.com/main/src/images/cloudflare-white.svg" height="60" alt="Cloudflare" />
86 </picture>
87 </a>
88 </td>
89 </tr>
90</table>
91​
92<div align="center">
93<img src="./media/partner_logo.svg" alt="Query & you?" height="65">
94<p>
95We're looking for TanStack Query Partners to join our mission! Partner with us to push the boundaries of TanStack Query and build amazing things together.
96</p>
97<a href="mailto:partners@tanstack.com?subject=TanStack Query Partnership"><b>LET'S CHAT</b></a>
98</div>
99​
100</div>
101​
102## Explore the TanStack Ecosystem
103​
104- <a href="https://github.com/tanstack/config"><b>TanStack Config</b></a> – Tooling for JS/TS packages
105- <a href="https://github.com/tanstack/db"><b>TanStack DB</b></a> – Reactive sync client store
106- <a href="https://github.com/tanstack/devtools"><b>TanStack DevTools</b></a> – Unified devtools panel
107- <a href="https://github.com/tanstack/form"><b>TanStack Form</b></a> – Type‑safe form state
108- <a href="https://github.com/tanstack/pacer"><b>TanStack Pacer</b></a> – Debouncing, throttling, batching <br/>
109- <a href="https://github.com/tanstack/query"><b>TanStack Query</b></a> – Async state & caching
110- <a href="https://github.com/tanstack/ranger"><b>TanStack Ranger</b></a> – Range & slider primitives
111- <a href="https://github.com/tanstack/router"><b>TanStack Router</b></a> – Type‑safe routing, caching & URL state
112- <a href="https://github.com/tanstack/router"><b>TanStack Start</b></a> – Full‑stack SSR & streaming
113- <a href="https://github.com/tanstack/store"><b>TanStack Store</b></a> – Reactive data store
114- <a href="https://github.com/tanstack/table"><b>TanStack Table</b></a> – Headless datagrids
115- <a href="https://github.com/tanstack/virtual"><b>TanStack Virtual</b></a> – Virtualized rendering
116​
117… and more at <a href="https://tanstack.com"><b>TanStack.com »</b></a>
118​
119<!-- Use the force, Luke -->