Skip to content

qas612820704/redux-idea-reducer-fields

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Redux - Reducer Fields

Some thought about redux, shared at Show Me The Code TW Meetup #2.

Take todos app as example:

  • Let object fields as reducers.

Installtion

  $ yarn install

Usage

  $ ./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!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published