reduxPure Redux - Redux without any framework


actionIt must be an object with at least the type property. Any other property can be passed and will be accessible within the reducer function.


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);