julienrf··on Cross-Platform Language Design [pdf]There are several Scala libraries providing this (the most popular probably being https://github.com/japgolly/scalajs-react). Have you tried one of them?