4 ms·
Scala for backend and Scala.js for front end. Use terms SPA and SSR like the cool kids do. Only you can share the same code between the two and in a strong stat
by fxfan 8y ago
Scala for backend and Scala.js for front end. Use terms SPA and SSR like the cool kids do. Only you can share the same code between the two and in a strong statically typed way.
- virtualwhys 8y ago> use the terms SPA and SSR like the cool kids do and how are you doing this in Scala.js? As far as I can tell, outside of rolling your own, there's Binding.scala, Monadic-Html, Scala.rx, and a handful of other, perhaps maintained, in-house libraries for building SPAs (i.e. not dependent on the "cool kids" libraries, like scalajs-react). Just curious what your approach is as I had a great time doing a project in Scala.js a year or so ago, and am looking to possibly build a Scala/Scala.js SPA for the next project (instead of the default: Angular/React + TypeScript on the frontend).
- fxfan 8y agoSorry the kind of work I do doesn't need spa. I use Scala.js for plain well written client code. If you're into spa, there's also monix, outwatch and a few others I think.
- fxfan 8y agoI know that its not good form to ask the reason for Downcoting but boy do web boys get Triggered by the smallest of things.
- dang 8y agoWe ban accounts that break the site guidelines, so please review and follow them when posting here. https://news.ycombinator.com/newsguidelines.html https://news.ycombinator.com/newsguidelines.html