News for hackers. Stuff that matters.
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.
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)

Re:Show HN: Reactuate – a React/Redux stack with a focus on ... by yrashk on Monday February 01, 2016 @02:25AM (#11010338)
to address this confusion, I've added an "excerpt from the library" label to show which parts of the code are just parts of the actual stack.