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
- feat: mutateTag
- Feature request: when RSC data fetching set as the fallback, skip onmount revalidation
- chore: update license year
- Can't import the named export 'createContext' from non EcmaScript module (only default export is available)
- cache on useSWRConfig is delayed
- Type-narrowing doesn't work
- `revalidateOnMount` With Fallback triggers `isLoading` instead of `isValidating`
- 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
- Docs
- TypeScript not yet supported