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
- refreshWhenHidden not working properly
- useSWRInfinite could not load new page correctly after `clear` and `refresh`
- useSWR not back to fallback data after switching key to fallback key when keepPreviousData is true
- Making changes to data prop incorrectly updates the cache
- Asynchronous mutations are handled when finished.
- Clear Cache Hook
- chore: refactor version bump script for improved readability and maintainability
- Passing an array of keys doesn't cache the keys individually
- preload is invalid when use array key, Does it only work in string key ?
- Global mutate does not invalidate `useSWRInfinite` requests
- Docs
- TypeScript not yet supported