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
- 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
- fix: call all revalidators per key to respect individual isPaused() states
- chore: add .nvmrc to set Node.js version to 20
- fix(types): export FetcherResponse type
- Unstable Vitest Runs – Occasional Error Without Clear Cause
- Docs
- TypeScript not yet supported