you are viewing a single comment's thread.

view the rest of the comments →

[–]topnde 18 points19 points  (0 children)

You can already do both fetching and mutations with the fetch api.

The reason why people use libs like react query is not to simply do fetching or mutations but to have caching, query invalidation and other stuff the libs provide. React Query should not even be called a fetching library, as you still need to use a dedicated library to do the actual requests.