3 ms·
I think most react-based projects that need data fetching should absolutely be using SWR (https://swr.vercel.app/ https://swr.vercel.app/). It's light enough t
by scrollaway 4y ago
I think most react-based projects that need data fetching should absolutely be using SWR (https://swr.vercel.app/ https://swr.vercel.app/).
It's light enough to be worth it from a very small amount of API calls. Having caching and loading states is a significant UX bonus very quickly.
- andix 4y agoIs it really lighter than react query?