4 ms·
> However most modern frameworks use something like React Query, GraphQL, imo most projects do not need and are made worse by that bloat.
by darepublic 4y ago
> However most modern frameworks use something like React Query, GraphQL,
imo most projects do not need and are made worse by that bloat.
- scrollaway 4y agoI 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?