Closed b2banna closed 3 years ago
Yes, you need redux if you already using React hooks. However, you can do a comparison between Redux vs context API.
React hooks are the APIs to replace the lifecycle of components - componentDidMount, componentDidUpdate, etc. as well as to remove the class-based components.
Whereas, Redux is your state management library. If your application has the data which is going to access and share across application then you need Redux.
I would recommend you to read about context API
Thank you.
Do I need Redux if I am already using React Hooks?