Why I stopped using Redux
When I first learned React, every tutorial said I needed Redux for state management. So I spent weeks learning reducers, actions, and thunks.
But for my last two projects, I completely dropped it. I realized that using React Context for global UI state (like dark mode/auth) and a library like React Query for server state handles 99% of my use cases with a fraction of the boilerplate.
Are big companies still starting new projects with Redux, or is the industry moving away from it?
But for my last two projects, I completely dropped it. I realized that using React Context for global UI state (like dark mode/auth) and a library like React Query for server state handles 99% of my use cases with a fraction of the boilerplate.
Are big companies still starting new projects with Redux, or is the industry moving away from it?