Some thought about redux, shared at Show Me The Code TW Meetup #2.
Take todos app as example:
- Let object fields as reducers.
$ yarn install
$ ./node_modules/.bin/babel-node src/01-01-getState.js
$ ./node_modules/.bin/babel-node src/01-02-all-todo-texts.js
# ...
$ ./node_modules/.bin/babel-node src/05-01-getState.js
$ ./node_modules/.bin/babel-node src/05-02-all-todo-texts.js
Show you the code. :)
Thanks!