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: skip preload when the key is falsy
- fix(subscription): support async subscribe function in useSWRSubscription
- Focus events emit TimeoutNaNWarning with Node.js timers in jsdom
- fix: pass explicit delay to focus and reconnect revalidation timers
- fix: write subscription updates to the subscribed key
- fix: ignore obsolete callbacks after the key becomes null
- onSuccess can fire for an obsolete request after the key changes to null
- fix: allow overriding global fetcher with null
- fix(infinite): preserve mount revalidation through layout updates
- Prevent older preloads from overwriting mutations
- Docs
- TypeScript not yet supported