Taking the best of two worlds In the previous post we described a pure-Cordova app that we want to move… Read more Cordova and Beyond – 2) Using Webpack and Yarn/Gulp in a pure-Cordova project
Category: javascript
Cordova and Beyond – 3) Implementing React components, with hot reload in the bargain
Webpack is on board In the previous post I showed in detail how to configure Webpack and Yarn/Gulp in order… Read more Cordova and Beyond – 3) Implementing React components, with hot reload in the bargain
Cordova and Beyond – Mixing Cordova with React
Taking the best of two worlds I like Apache Cordova a lot. I love React for sentimental reasons. But putting… Read more Cordova and Beyond – Mixing Cordova with React
Cordova and Beyond – 1) Moving a pure-Cordova app towards React
Taking the best of two worlds I like Apache Cordova a lot. For the first time I am able to… Read more Cordova and Beyond – 1) Moving a pure-Cordova app towards React
Beyond “Monads and Gonads”
Gist: There’s this famous “Monads and Gonads” video from Doug Crockford. To me it is cryptic, kind of elitist: it… Read more Beyond “Monads and Gonads”
State monad goes to JS town (and starts swinging…)
Gist: JavaScript is the only language I am aware of that allows to invoke a monadic function, like state is,… Read more State monad goes to JS town (and starts swinging…)
Fold Left in JavaScript (with all thinkable examples)
Fold left (aka reduce or reduce left) is the basic list iterator. Straight, efficient and dumb: once it starts it has to get… Read more Fold Left in JavaScript (with all thinkable examples)
Fold Right in Javascript (with all thinkable examples)
Gist: Fold right (aka reduce right) is the basic list recursion operator. Way more intelligent than its cousin fold left. It has a non-intuitive… Read more Fold Right in Javascript (with all thinkable examples)
Handling I/O with the state monad in JavaScript
Gist: the state monad allows to chain (i.e. to execute in sequence) a wide sort of operations, each one returning… Read more Handling I/O with the state monad in JavaScript
Chainable monads in JavaScript
Gist: the chainable monads presented here are JavaScript functions that allow idiomatic expressions such as monad1.bind(function1) ———> monad2 Since JavaScript… Read more Chainable monads in JavaScript