Installation

You can install Svelte Query via NPM.

v5 is currently available as a release-candidate. We don't anticipate any major API changes from here on out. We encourage you to try it out and report any issues you find.

NPM

bash
$ npm i @tanstack/svelte-query
# or
$ pnpm add @tanstack/svelte-query
# or
$ yarn add @tanstack/svelte-query
# or
$ bun add @tanstack/svelte-query
$ npm i @tanstack/svelte-query
# or
$ pnpm add @tanstack/svelte-query
# or
$ yarn add @tanstack/svelte-query
# or
$ bun add @tanstack/svelte-query

Wanna give it a spin before you download? Try out the basic example!

Want to Skip the Docs?
Query.gg - The Official React Query Course
“This course is the best way to learn how to use React Query in real-world applications.”—Tanner Linsley
Check it out