Migrating data while being 'always on'

2019-07-14TL; DR; - Software systems evolve. Some software system should be 'always-on'. These two constraints sometimes clash considerably. The…

Extracting useful types from a mapped action creator

2019-06-21The context: typescript, redux, react. You may or may not know that if you dispatch a thunk (those action creators that return a function…

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…