3 ms·
"Now, we should define an increment action." <TYPING INTENSIFIES>. 40 lines of code later, we can increment a variable.
by grumblestumble 11y ago
"Now, we should define an increment action." <TYPING INTENSIFIES>. 40 lines of code later, we can increment a variable.
- yrashk 11y agoThis 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)
- yrashk 11y agoto 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.