@b.s/solid-qwery
TypeScript icon, indicating that this package has built-in type declarations

3.1.0 • Public • Published


Simple, versatile, powerful asynchronous state management

Weekly react-qwery downloads Weekly svelte-qwery downloads Weekly vue-qwery downloads Weekly solid-qwery downloads Weekly solid-qwery downloads
CI Status License License
Open in React demo in StackBlitz Open in Svelte demo in StackBlitz Open in Vue demo in StackBlitz Open in Solid demo in StackBlitz

✨ Features

  • 🤸🏽‍♂️ One lightweight package to manage REST and GraphQL APIs or any other kind of API
  • 🔩 Fully customizable behavior by creating your own cache store and query key implementations
  • ± Request deduplication by query key
  • 📢 Synchronize all instances of Qweries which share query keys
  • 🗂️ Normalized and document caches available
  • 🧐 Sourcemaps for easy debugging
  • ⛓️‍💥 Decouple data fetching logic from the type of API or frontend framework
  • ✂️ Simple public APIs
  • 🌏 CJS + ESM

qwery is a collection of lightweight composable hooks and helpers to aid with async state management. It was designed with the aim of simplifying architectural migrations to support building evolutionary architectures in mind.

📚 For more information, check out the wiki.

∑ TLDR;

  • Normalized and document caching + structural sharing + query cancellation + automatic garbage collection + subscriptions/polling + suspense + refetching + mutations + broadcast updates + SSR = Any place ✅
  • Backend agnostic + client side transactions + retry mechanism + batching = Any time ✅
  • React + Vue + Solid + Svelte = Anywhere ✅

📦 Release

After a few bumpy 1.x.x and 2.0.x releases 😬, v2.1.x onwards are considered stable

🤛🏽 Credits

qwery heavily draws upon ideas from:

misc:

🤝🏽 Contributions

  • Contributions are welcome, just make a pull request

"Man's duality, life and its formalities"

Package Sidebar

Install

npm i @b.s/solid-qwery

Weekly Downloads

107

Version

3.1.0

License

MIT

Unpacked Size

489 kB

Total Files

11

Last publish

Collaborators

  • nmathew98