Redux

Lidian Vilazio
Sep 7, 2018 · 2 min read

what is Redux?

What the Redux’s documentation says:

Redux is a predictable state container for JavaScript apps.

Redux helps in the management of a React app’s states, it solves this ‘state transfer problem’. We can store all the states in a single place called store. So when we look at the above problem of passing the state from level one component to level four component, it becomes easy, as all the state is stored in store and the level four component can directly access the required state from store(see above diagram). No worries of, from where the data is coming as store is the single source of truth. Clear code, easy access of state, easy state transfer are the major benefits of Redux.

Redux Inspiration

Dan Abramov created Redux to make development more fun.

He’s the guy who’s written some amazing modules like create-react-app, react-hot-loader and react-dnd.

He wanted a minimal API that improved the application structure and had better tools. At 2kb, Redux makes data management and debugging a whole lot easier.

Learn more about Redux:

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade