A CodeRoad tutorial for learning Redux.
CodeRoad is an open-sourced interactive tutorial platform for the Atom Editor. Learn more at CodeRoad.io.
-
install the tutorial package
npm install --save coderoad-redux-js
-
install and run the atom-coderoad plugin
The data transformation
const reducer = (state) => {
console.log(state);
return state;
};