SCALAJS - WEB WITHOUT PAIN OF JAVASCRIPT
summary
Scala.js compiles Scala to JavaScript so the same case classes & validations can run on client and server, enabling a hybrid insurance slider app that switches computation between browser and JVM. SBT offers fastOpt (1–5s) for rapid dev cycles and fullOpt + Closure (~100KB) for production; runtime is roughly within 50% of hand‑written JS in real use but can be slower in microbenchmarks. Integrations exist for jQuery, React and (old) Angular; debugging uses source maps but there is no runtime reflection and occasional need for JavaScript expertise.
AI-written summary · about
chapters (5)
- 0:00Start
- 9:24transpiling scala to javascript and running on a server with node
- 10:57integrates with existing javascript ecosystem tools
- 12:10use jquery
- 16:31existing libraries
related talks
56mScala.js: Safety and Sanity in the Wild West of Web development
31mSCALA FROM B TO F - BACKEND DEVELOPER ON FRONTEND
57mThe Magic Recipe of Scala.js: a Cross‑Platform Language
29mFull Stack Scala Web Application.
31mHow I learned to stop worrying and love the frontend
40mFull Stack Scala
49mScala js: getting the best of JavaScript and Scala
20mQuickly develop web applications with the FastScala framework
