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
- Bug: double-calling unsubscribe removes wrong subscriber in cache.ts
- fix: guard against double-unsubscribe removing wrong subscriber in cache.ts
- [useSWRMutation] `trigger` called within `<form action />` won't have proper `isMutating`
- fix(#4247): use `useTransition` to track mutation `isMutating`
- fix: support async subscribe in useSWRSubscription
- fix: allow null fetcher to override global SWRConfig fetcher
- useSWRMutation trigger is uncallable when wrapped in a generic function
- codesandbox ci migration
- fix: useSWRImmutable should disable revalidation on focus
- fix: prevent infinite loop when onSuccess is explicitly undefined
- Docs
- TypeScript not yet supported