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
- fix(types): export FetcherResponse type
- Unstable Vitest Runs – Occasional Error Without Clear Cause
- Typescript doesn't work properly for suspense configuration
- SWRMutationConfiguration.optimisticData types is not correct
- fix: SWRMutationConfiguration.optimisticData types is not correct
- useSWRInfinite hook returns incorrect data on versions >= 2.3.0
- onSuccess in useSWRMutation does not await async callbacks
- cache.get() not working with fallback
- fix: await async onSuccess/onError callbacks to prevent unhandled rejections
- Destruct "error" from useSWR throws an error
- Docs
- TypeScript not yet supported