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
- The type and runtime behavior of `mutate/trigger` fn are mismatched
- test: enable `<StrictMode/>` for testing
- Bug in `createCacheHelper`
- 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`)
- Docs
- TypeScript not yet supported