3 ms·
Anybody who liked elm is highly recommended to check out Scala.js. With scalatags, it looks close to what elm does AND you have the entire power of jvm libs. A
by fxfan 8y ago
Anybody who liked elm is highly recommended to check out Scala.js. With scalatags, it looks close to what elm does AND you have the entire power of jvm libs.
And you get code sharing across client and server as its just plain old scala. I believe elm is not big server side.
- giornogiovanna 8y agoScalatags is not a VDOM implementation, though, and the Elm architecture (one giant state machine) is very different to what you'd typically see in a Scala.js application. A closer analog, in my opinion, would be ClojureScript + Reagent, but even that doesn't feature Elm's focus around immutability.
- sraquo 8y agoScalaTags is indeed not relevant here, but Scala.js has its fair share of reactive UI libraries such as my own Laminar https://github.com/raquo/Laminar https://github.com/raquo/Laminar
- lenticular 8y agoYour DOM builder library is also great for lower-level DOM manipulation. Thanks for your work, by the way. https://github.com/raquo/scala-dom-builder/ https://github.com/raquo/scala-dom-builder/
- dkersten 8y agoClojuresxript + re-frame would be pretty close though, right?