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
- 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
- fix(immutable): respect a hook-level `refreshInterval`
- `useSWRImmutable` ignores hook-level `refreshInterval` since 2.4.0 (regression of #4208)
- fix(types): allow null fetcher in SWRConfiguration to override global config
- fix: consider document focus for visibility
- fix: cache suspense revalidation promise to avoid uncached promise warning
- ci: automate categorized GitHub release notes
- Suspense mode passes an uncached promise to use(), triggering React's uncached-promise warning
- Docs
- TypeScript not yet supported