Hacker News new | past | comments | ask | show | jobs | submit login

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.




Is it really lighter than react query?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: