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 supported1 Subscribers
Add a CodeTriage badge to swr
Help out
- Issues
- Fetcher argument type inference fails when useSWR-hook is explicitly typed
- Visiting 404 Not Found clears all SWR Cache
- useSWRInfinite has missing types
- sometimes it automatically request again ,but the key has not changed
- Calling `setSize` before pages finish loading causes `useSWRInfinite` to trigger multiple requests
- isLoading is initially false when there is no data for conditional queries.
- `useSWRSubscription` suspends forever, never calls `subscribe` when `suspense` is `true`
- useSWRInfinite does not return data until all pages are fetched
- Cache specific key only
- useSWRMutation is not working with React Native New Architecture.
- Docs
- TypeScript not yet supported