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 supported1 Subscribers
Add a CodeTriage badge to swr
Help out
- Issues
- Global mutate with cache provider unexpectedly provides undefined for optimisticData callback
- Sideeffects on local bound mutate after changing key
- WIP: useSWRAggregator
- Fix: log error in getKey #2102
- When Suspense is enabled, error thrown inside fetcher function is not thrown by SWR (swallowed)
- feat: add extra arg in onSuccess, onError
- Global mutate only being called on immutable keys
- Update swr from 2.2.0 to 2.2.2 cause `fetcher` is undefined
- focusThrottleInterval is not honoured for the first refresh on focus after mount
- fix: ensure `revalidateOnFocus` and `revalidateOnReconnect` is work
- Docs
- TypeScript not yet supported