What's the difference between hyper fetch and tanstack? #35
-
Tanstack added support for svelte https://tanstack.com/query/latest/docs/svelte/overview what are the differences if there are any? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
https://hyperfetch.bettertyped.com/docs/documentation/getting-started/comparison/ |
Beta Was this translation helpful? Give feedback.
-
Difference is that we are not wrapper for the state and react/other-environments, we are providing it with the fetchers. What this gives us:
There are more up on the list presented by the @endlessuniverse If I have to specify why I build the HF since the React Query is such a great solution is: I made this because I wanted to make the data exchange more structured, as React query follows the path of letting user to specify how this data should be exchanged with the server, I simply wanted to do it once for all. I had many problems with upload/download progress, queueing my requests and I just had to write it on my own due to the complex requirements of my products at that time. Right now I know that this was brilliant idea as it brings standards to the way of how you manage your data and how you create reusable parts for the data exchange. At every single stage of the request, you can inspect it's transferred data, params, query params, etc. This is simply going beyond of what's possible with other solutions, together with typescript I'm using it for years and I never looked back, it's just simple and powerful. |
Beta Was this translation helpful? Give feedback.
https://hyperfetch.bettertyped.com/docs/documentation/getting-started/comparison/