× logo Home HTML CSS Javascript React-App Angular.js logo
logo

So what is Redux, really?

- Redux manage the state of a React component.
- Redux holds up the state with a single Location(Store).
- Redux helps giving each React component the exact piece of State it needs.

Redux maintains the state of an entire application in a single immutable state tree (object), which can't be changed directly. When something changes, a new object is created (using actions and reducers).

How the data folows through Redux.

logo


Redux benefits

Redux, you'll see several benefits that are commonly discussed: Predictable state updates make it easier to understand how the data flow works in the application. The use of "pure" reducer functions makes logic easier to test, and enables useful features like "time-travel debugging".

logo

logo

Flux-Vs-Redux

logo

logo