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
- auto retry has timer issues with mutate
- `useSWR` in UI KIT library not using cache from consumer app
- When the fetcher function is generic the concrete type is not inferred
- Drop the useIsomorphicLayoutEffect hack in the future.
- Providing populateCache function to useSWRMutation causes onSuccess trigger callback data to be different than the returned from fetcher.
- useSWRInfinite does not refresh cache after setSize
- Not able to delete cache by key
- Global mutate fails when cache provider is overridden
- Requests with `suspense: true` block requests without `suspense: true` from starting
- useSWRInfinite returns initial result while loading with keepPreviousData
- Docs
- TypeScript not yet supported