4 ms·
Scala.js is also an option. https://www.scala-js.org/ https://www.scala-js.org/ It skips the JVM altogether and complies Scala to Javascript. I haven't used i
by acjohnson55 8y ago
Scala.js is also an option.
https://www.scala-js.org/ https://www.scala-js.org/
It skips the JVM altogether and complies Scala to Javascript. I haven't used it for anything significant, but I've heard nothing but good things.
- threeseed 8y agoI am using it now and it's solid. Recommend combining it with: Slinky React (https://slinky.dev https://slinky.dev) JSON RPC (https://github.com/shogowada/scala-json-rpc https://github.com/shogowada/scala-json-rpc) Diode (https://github.com/suzaku-io/diode https://github.com/suzaku-io/diode) Scalably Typed (https://github.com/oyvindberg/ScalablyTyped https://github.com/oyvindberg/ScalablyTyped) Being able to use almost every React library but with full types and code completion is amazing. And with JSON RPC you can treat Client -> Server as though it's just another method call.
- forty 8y agoI reimplemented flux example in scala.js a few years ago. It really looks great, not so different from the js code but all strongly typed. https://github.com/forty/scala-js-flux-example https://github.com/forty/scala-js-flux-example