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(mutation): support conditional fetching by allowing falsy keys
- Unexpected fetcher call on focus when using useSWRImmutable
- fix: guard against undefined global state in createCacheHelper
- Skill
- Infinite loop when passing `onSuccess: undefined` explicitly
- fix: Safeguard onSuccess callback to prevent errors when undefined
- Documentation inconsistency: useSWRMutation doesn't accept null key unlike useSWR
- Data in client side Next.js app bundle not being fetched consistently after updating to 2.4.0
- SWR cannot properly infer the argument types of fetcher from key in some condition
- when keepPreviousData is true, Suspense Fallback just show once
- Docs
- TypeScript not yet supported