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 supported1 Subscribers
Add a CodeTriage badge to swr
Help out
- Issues
- Error installing SWR with nextjs
- When using useSWRInfinite with {revalidateOnMount: true, revalidateFirstPage: false}, if there is a useLayoutEffect, the component will not make a new request when it is mounted.
- onSuccess not called after upgrading from Expo 51 to 52
- FetcherResponse not exported
- refreshWhenHidden not working properly
- useSWRInfinite could not load new page correctly after `clear` and `refresh`
- fix #3030 and run relateive test in edge-runtime
- useSWR not back to fallback data after switching key to fallback key when keepPreviousData is true
- Making changes to data prop incorrectly updates the cache
- Asynchronous mutations are handled when finished.
- Docs
- TypeScript not yet supported