News for hackers. Stuff that matters.
Re:A Visual Guide to UseEffect by scrollaway on Tuesday December 27, 2022 @04:02AM (#34146842)
I think most react-based projects that need data fetching should absolutely be using SWR (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.

Re:A Visual Guide to UseEffect by andix on Saturday December 31, 2022 @11:38AM (#34198066)
Is it really lighter than react query?