@b.s/react-qwery v3.1.0
β¨ 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:
- urql: really nice README
- apollo-client: GraphQL document transforms
π€π½ Contributions
- Contributions are welcome, just make a pull request
"Man's duality, life and its formalities"
13 days ago
13 days ago
13 days ago
13 days ago
15 days ago
15 days ago
15 days ago
15 days ago
15 days ago
16 days ago
16 days ago
16 days ago
17 days ago
25 days ago
25 days ago
1 month ago
1 month ago
1 month ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago