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
- subscription/index.ts L89-92: disposers and subscriptions Maps not cleared on last-subscriber teardown
- fix: keep mutation trigger callable with generics
- fix: read swr devtools on demand
- fix: ignore undefined values when merging configs
- fix(infinite): keep parallel getKey previousPageData null on setSize
- [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
- Docs
- TypeScript not yet supported