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
- SWR cannot properly infer the argument types of fetcher from key in some condition
- when keepPreviousData is true, Suspense Fallback just show once
- Custom compare function in useSWR is called excessively
- Feature request: exported types / easier augmentation patterns
- Typings do not catch mistyped fetcher arguments
- SWR re-renders the whole paginated data array when optimisticData and data functions return an array
- useSWRSubscription does not work with async subscribe function
- Skip revalidation for RSC fallback data by default
- Update use-swr.ts
- chore: add .nvmrc to set Node.js version to 20
- Docs
- TypeScript not yet supported