Skip to content

Performant and powerful remote data synchronization for Svelte

License

Notifications You must be signed in to change notification settings

pzcfg/svelte-query

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hooks for managing, caching and syncing asynchronous and remote data in Svelte

Visit sveltequery.vercel.app 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

Contributing

PRs are welcome! You noticed a bug, a possible improvement or whatever? Any help is always appreciated, so don't hesitate opening one!

Be sure to check out the contributing guidelines to fasten up the merging process.

Get started (Devs)

git clone git@github.com:SvelteStack/svelte-query.git
cd svelte-query
yarn
yarn storybook

Running Storybook

cd storybook
yarn
yarn start

Running the tests

yarn test

Running the Docs

cd docs
yarn
yarn build
yarn start

http://localhost:3000

Build

yarn build

About

Performant and powerful remote data synchronization for Svelte

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 85.4%
  • Svelte 12.6%
  • JavaScript 2.0%