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

README.md

62 lines3.6 KB

1<img src="https://static.scarf.sh/a.png?x-pxid=be2d8a11-9712-4c1d-9963-580b2d4fb133" />
2​
3<picture>
4 <source
5 media="(prefers-color-scheme: dark)"
6 srcset="https://tanstack.com/api/readme/query.png?framework=solid&theme=dark"
7 />
8 <source
9 media="(prefers-color-scheme: light)"
10 srcset="https://tanstack.com/api/readme/query.png?framework=solid"
11 />
12 <img
13 src="https://tanstack.com/api/readme/query.png?framework=solid"
14 alt="TanStack Solid Query"
15 width="900"
16 />
17</picture>
18​
19Hooks for fetching, caching and updating asynchronous data in Solid
20​
21<a href="https://twitter.com/intent/tweet?button_hashtag=TanStack" target="\_parent">
22 <img alt="#TanStack" src="https://img.shields.io/twitter/url?color=%2308a0e9&label=%23TanStack&style=social&url=https%3A%2F%2Ftwitter.com%2Fintent%2Ftweet%3Fbutton_hashtag%3DTanStack">
23</a><a href="https://discord.com/invite/WrRKjPJ" target="\_parent">
24 <img alt="" src="https://img.shields.io/badge/Discord-TanStack-%235865F2" />
25</a><a href="https://github.com/TanStack/query/actions/workflows/release.yml?query=branch%3Amain">
26<img alt="Release status" src="https://github.com/TanStack/query/actions/workflows/release.yml/badge.svg?branch=main" />
27</a><a href="https://www.npmjs.com/package/@tanstack/query-core" target="\_parent">
28 <img alt="" src="https://img.shields.io/npm/dm/@tanstack/query-core.svg" />
29</a><a href="https://bundlejs.com/?q=%40tanstack%2Fsolid-query&config=%7B%22esbuild%22%3A%7B%22external%22%3A%5B%22solid-js%22%2C%5D%7D%7D&badge=" target="\_parent">
30 <img alt="" src="https://deno.bundlejs.com/?q=@tanstack/solid-query&config={%22esbuild%22:{%22external%22:[%22solid-js%22]}}&badge=detailed" />
31</a><a href="#badge">
32 <img alt="semantic-release" src="https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg">
33 </a><a href="https://github.com/TanStack/query/discussions">
34 <img alt="Join the discussion on Github" src="https://img.shields.io/badge/Github%20Discussions%20%26%20Support-Chat%20now!-blue" />
35</a><a href="https://bestofjs.org/projects/tanstack-query"><img alt="Best of JS" src="https://img.shields.io/endpoint?url=https://bestofjs-serverless.now.sh/api/project-badge?fullName=TanStack%2Fquery%26since=daily" /></a><a href="https://github.com/TanStack/query/" target="\_parent">
36 <img alt="" src="https://img.shields.io/github/stars/TanStack/query.svg?style=social&label=Star" />
37</a><a href="https://twitter.com/tannerlinsley" target="\_parent">
38 <img alt="" src="https://img.shields.io/twitter/follow/tannerlinsley.svg?style=social&label=Follow" />
39</a> <a href="https://gitpod.io/from-referrer/">
40 <img src="https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod" alt="Gitpod Ready-to-Code"/>
41</a>
42​
43Enjoy this library? Try the entire [TanStack](https://tanstack.com)! [TanStack Table](https://github.com/TanStack/table), [TanStack Router](https://github.com/tanstack/router), [TanStack Virtual](https://github.com/tanstack/virtual)
44​
45## Visit [tanstack.com/query](https://tanstack.com/query) for docs, guides, API and more!
46​
47## Quick Features
48​
49- Transport/protocol/backend agnostic data fetching (REST, GraphQL, promises, whatever!)
50- Auto Caching + Refetching (stale-while-revalidate, Window Refocus, Polling/Realtime)
51- Parallel + Dependent Queries
52- Mutations + Reactive Query Refetching
53- Multi-layer Cache + Automatic Garbage Collection
54- Paginated + Cursor-based Queries
55- Load-More + Infinite Scroll Queries w/ Scroll Recovery
56- Request Cancellation
57- Suspense + Fetch-As-You-Render Query Prefetching
58- Dedicated Devtools
59​
60### [Become a Sponsor!](https://github.com/sponsors/tannerlinsley/)
61​
62<!-- Use the force, Luke -->