DEV Community

Discussion on: Learning react as a Vue developer

Collapse
ruheni profile image
Ruheni Alex

I love the article! 🤩
I would recommend React Query for data fetching. It makes handling server state sooooo easy and fun. It does so much for you.

Collapse
lewiskori profile image
Lewis kori Author

Thanks 🎊

That looks super promising.
Is it like axios or?

Collapse
ruheni profile image
Ruheni Alex

No, it's not.

React-Query provides hooks for data fetching. You can use it with your preferred data-fetching library (e.g., fetch, axios, graphql-request, etc.). It is technology agnostic and works with any fetching library. You can wrap react-query around your API request functions.