ubeezy / Avalanche

Landing Page
0 stars 0 forks source link

React redux vs React query #2

Open jeffubayi opened 3 years ago

jeffubayi commented 3 years ago

Which one is better for state management

sairajchouhan commented 3 years ago

react query is a server-side state management library, such as the data you get from the server like posts, user, profile and more react-query is a master of it. If you use react query a lot of hustle is handled by the library itself after all that stuff, all you have is a little global state to share between your application which can be generally done by react context itself