This is an old revision of the document!
React
—
Redux
npm install --save redux react-redux
redux gives access to the store react-redux allows integration with react
calling store.dispatch({type: “INCREMENT”});
will call your reducer with the given action
An action is simply an object with a type property to indicate what we are doing
Immutability Helpers
Useful to prevent yourself from mutating the state
const projects = update(this.state.projects, {0: {name: {$set: "new name"}}});