Using typed action creators with react's useReducer hook

2019-03-12With the advent of react hooks we now have very fast access to CQRS in our UI - dispatch actions ( Command ) and create a new read state…

Use react's context to display an error message somewhere else

2019-03-11Honestly, the end result seems so trivial that I almost couldn't be bothered to write it up. Then again, it shouldn't take too much time to…

Innovation vs Improvement

2019-03-03A few years ago, being an "enterprise developer" , I attended a meeting about the IT strategy up to ⌚2020. Here we heard about "innovating…

Writing azure functions with typescript

2019-02-24Even though there is some prior art to this , I wanted to document my own findings when wanting to code an azure function in TypeScript…

Typescript type shenanigans 2: specify at least one property

2019-02-03Here is a situation I came across recently - Some part of the system specified a qualified "link" to a page with the following type…

XState - a Typescript state machine with a lot of features

2019-01-30This post was sparked by a tweet from Ryan Florence... It has been quite some time ago since I last looked at defining a state machine…

I'm a Chrome-using frontend dev, but want to use Firefox more

2019-01-27You like to use Chrome, and you value the in-built development aids. However, you feel increasingly uneasy about the market dominance of…

Stuff we like: Great Chocolate!

2019-01-13Here's a great company in Switzerland that sells lovely chocolate: Cioccolateria Casa Nobile If you like chocolate, do yourself a favor and…

Clumsy steps towards writing again

2019-01-03Why all the work ? Why switching to a new site generator? Is it all just an elaborate strategy for some cultivated procrastination? This…

From Jekyll to Gatsby

2018-12-30Without much fanfare my gatsbyjs -based website is now live. It is also a static website generator, however, it's based on javascript and…