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
- type: move mutate type annotation into useCallback generic
- Add preload cache clear
- feat: Auto abort ongoing requests on overridden revalidations and mutations
- feat: add parallelLimit option to useSWRInfinite
- fix(loading): Prevent isLoading from being true with fallbackData
- Global mutate with a matcher function does not receive keys from useSWRInfinite
- Global mutate not causing rerender for hooks from swr/immutable
- Usage with Next.js does not cover prefetching data in server components with dynamic keys.
- Improve accuracy in determining visibility state
- Revalidation on focus broken in Chrome
- Docs
- TypeScript not yet supported