DEV Community

Ross Creighton
Ross Creighton

Posted on

ReduxJS in 30 seconds

Redux is a JavaScript library that aims to simplify how we manage stateful data. Redux keeps all of our data in a single JS object called the Store. A single function, the reducer, is responsible for making modifications to the Store. We trigger the reducer by 'dispatching' an action - a JS object that describes how our data should change. The reducer function receives the action as an argument and makes changes accordingly. Other parts of the code (usually React Components) can subscribe to data in the Store. When data changes, Redux notifies subscribers of the change.

Latest comments (15)

Collapse
 
agorovyi profile image
anatolii gorovyi

If only it was that easy in practice.

Collapse
 
davidmadi profile image
David Madi

This post shows it in the second part.
medium.com/p/9b2f2eabe9ab?source=l...

Collapse
 
belhassen07 profile image
Belhassen Chelbi

THIS IS IT : simple and accurate , thanks for the effort Ross

Collapse
 
katzy687 profile image
Natti Katz

Very helpful bee-line through the BS!

Collapse
 
saadaouad profile image
Saad Aouad

Perfect!

Collapse
 
pwhipp profile image
Paul Whipp

Hows about:
ReduxJS is how you can have globals in javascript without losing the plot.

Collapse
 
sanjay555 profile image
Sanjayshr

Request : Node, Polymer, Angular 4

Collapse
 
lukfcsl profile image
Lucas Farias

an undervalued library

Collapse
 
ufmemo profile image
ufmemo

This guy's video was very helpful for me.... youtube.com/watch?v=1w-oQ-i1XB8

Collapse
 
amandabenhamoo profile image
Amanda Benhamou

YESSSSS!!!!! THANK YOU!