swr
https://github.com/vercel/swr
TypeScript
React Hooks for Data Fetching
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
TypeScript not yet supported2 Subscribers
Add a CodeTriage badge to swr
Help out
- Issues
- Clearing all caches doesn't work
- No way to send message on a Web socket connection using useSWRSubscription
- Updating swc from 2.1.5 to 2.2.4 minor version got type error in fetcher.
- SWR is not eventually consistent in tests
- Silent error in getKey within useSWRInfinite
- `populateCache` is being deferred when `mutate` is called multiple times
- Filter function in `mutate` returns `true`, but does not seem to invalidate cache (using `useSWRInfinite`)
- Add option forceRevalidateOnReconnect to hard-revalidate when regaining a network connection
- Global mutate with cache provider unexpectedly provides undefined for optimisticData callback
- Sideeffects on local bound mutate after changing key
- Docs
- TypeScript not yet supported