Re:Show HN: Reactuate – a React/Redux stack with a focus on ...
by grumblestumble on Monday February 01, 2016 @01:47AM
(#11010204)
"Now, we should define an increment action." <TYPING INTENSIFIES>. 40 lines of code later, we can increment a variable.
[ Parent
| on HN ]
Re:Show HN: Reactuate – a React/Redux stack with a focus on ...
by yrashk on Monday February 01, 2016 @01:51AM
(#11010225)
This project is written as a literate program and most important parts of the code are exposed. What you see there is how it's actually implemented.
The action is defined like this:
const IncrementCounter = createAction(domain, 'IncrementCounter',t.maybe(incrementParameter))
(A oneliner)