Back to Query

README

packages/solid-query/README.md

5.90.33.2 KB
Original Source

Hooks for fetching, caching and updating asynchronous data in Solid

<a href="https://twitter.com/intent/tweet?button_hashtag=TanStack" target="\_parent">

</a><a href="https://discord.com/invite/WrRKjPJ" target="\_parent">

</a><a href="https://github.com/TanStack/query/actions?query=workflow%3A%ci%22">

</a><a href="https://www.npmjs.com/package/@tanstack/query-core" target="\_parent">

</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">

</a><a href="#badge">

</a><a href="https://github.com/TanStack/query/discussions">

</a><a href="https://bestofjs.org/projects/tanstack-query"></a><a href="https://github.com/TanStack/query/" target="\_parent">

</a><a href="https://twitter.com/tannerlinsley" target="\_parent">

</a> <a href="https://gitpod.io/from-referrer/">

</a>

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

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

Become a Sponsor!

<!-- Use the force, Luke -->