Cheat sheet for using Go everywhere you might use JavaScript

For a long time, I used GopherJS, but now Go can cross-compile to WebAssembly out-of-the-box.
Note that the API is experimental and has already changed between Go 1.11 and 1.12.
I’ve last tested the code on this page in Go 1.13.
Read more

Similar

Modern JavaScript in Rails 7 without Webpack

I didn't much care for vanilla JavaScript prior to ES6. Through all of the 2000s, I chased different approaches to avoid writing too much of it. First there was RJS (Ruby-to-JavaScript). Then there was CoffeeScript. Both transpiling approaches that turned... (more…)

Read more »