4 ms·
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] http
by going_north 3y ago
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/ https://swr.vercel.app/
- klauserc 3y agoLooks 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 https://the-guild.dev/openapi/fets/client/quick-start [1] https://openapi-ts.pages.dev/openapi-fetch/ https://openapi-ts.pages.dev/openapi-fetch/