Coffee. Code. Whiskey.
The one runtime exception nearly every Elm developer will encounter sooner or later is this one, dealing with recursive JSON decoders:
Uncaught TypeError: Cannot read property ‘tag’ of…
I figured it would be fun to take a tiny function and explain how it works line by line.
elm-reactor is an underrated tool. Not only does it do on-demand recompilation of Elm source code, but it can serve up other assets, too.
But did you know you can serve your own HTML with live-compiled Elm code, too? This is useful if you need JS interop…