News for hackers. Stuff that matters.
Re:TanStack Query(a.k.a. React Query) v5 announced by going_north on Thursday October 19, 2023 @07:39AM (#37941466)
I would suggest taking a look at SWR [0]. I think it strikes a very nice balance between using fetch and something more heavy-handed like React Query.

[0] https://swr.vercel.app/

Re:TanStack Query(a.k.a. React Query) v5 announced by klauserc on Thursday October 19, 2023 @10:27AM (#37943382)
Looks interesting. Thanks! Not sure how I feel about the key being handed to the fetcher (might be great, might be annoyingly verbose). Will have to see what it looks like in practice. (We are going to use feTS [0] or openapi-fetch [1], which are very particular about how the path is assembled)

[0] https://the-guild.dev/openapi/fets/client/quick-start [1] https://openapi-ts.pages.dev/openapi-fetch/