In this article I want to give you a short intro to Scala.js à la Elm. So what is Elm? Elm is a language and framework which allows you to write web applications in a Haskell-ish style.
That reason why I would like to experiment with this style in Scala.js is simple: the Elm architecture is really elegant plus I like functional programming a lot. Scala.js allows us to share code between the server and the frontend. Apart from that there are more reasons why Scala.js is so interesting. Why not Elm? Well, it is not a full-stack solution. So you have to write a backend in Haskell or Node or whatever suits you best. Writing a backend and frontend in Scala and using strongly typed RPC (+ the same models) is quite nice to have!