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
npm i @tanstack/svelte-query

or

bash
pnpm add @tanstack/svelte-query
pnpm add @tanstack/svelte-query

or

bash
yarn add @tanstack/svelte-query
yarn add @tanstack/svelte-query

or

bash
bun add @tanstack/svelte-query
bun add @tanstack/svelte-query

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