Why use React Redux?

I am taking the Free Code Camp lessons and currently I am learning about React Redux. But I do not understand the point in learning React Redux. Everything that it can do I can simply do with an array or an object. Why do I need React Redux?

Redux strips away responsibility for state management from each individual component and puts it in the hand of a single store that holds data from anywhere in the application. As a result, there is no need to write cumbersome code to pass data through multiple levels of components.

Redux logs all actions and states over time, it is simple to trace any bugs that emerge. You can also take debugging to the next level with Redux DevTools, which allows you to skip backwards and forwards in time to inspect the state of the application at any point.

1 Like