redux

Topics related to redux:

Getting started with redux

Asynchronous Data Flow

Testing Redux apps

Pure Redux - Redux without any framework

If you're not using bundlers like Webpack and Browserify, change the first line to:

const { createStore } = Redux;

Or just call it directly from the Redux global when creating the store:

const store = Redux.createStore(counter);

Reducer

Reducers change the application state based on the actions fired.

The state is immutable, that means reducers should be pure: for the same input, you should always get the same output. Because of this, mutability is forbidden in reducers.

How to link redux and react