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: allow overriding global fetcher with null
- fix(immutable): honor hook-level refreshInterval in useSWRImmutable (#4322)
- fix(infinite): preserve mount revalidation through layout updates
- Prevent older preloads from overwriting mutations
- Older Preload state overwrites a more recent mutated cached value
- fix: read fallback and cacheData by own property only
- fix: respect hook-level refreshInterval in useSWRImmutable
- ci: add PerfAgent performance analysis workflow
- fix(immutable): respect a hook-level `refreshInterval`
- `useSWRImmutable` ignores hook-level `refreshInterval` since 2.4.0 (regression of #4208)
- Docs
- TypeScript not yet supported