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
- Distinct object keys with delimiters collide in stableHash and share cached data
- Key filters of the global `mutate` stop matching mounted hooks after `unload()`
- fix: restore the original key when revalidating after unload
- fix: safely invoke optional callbacks to prevent infinite retry loops
- fix: avoid passing DOM events to focus timer and bind delay 0
- fix(types): reject fetchers with mismatched key arguments
- fix: avoid redundant _k cache write on mount (#4359)
- fix: avoid redundant custom comparisons for unchanged data
- fix(infinite): stop a superseded revalidation from writing its pages
- feat: pass revalidation trigger to the fetcher
- Docs
- TypeScript not yet supported