Scala.js, Scala.CSS and React: the Story of a Discovery
summary
A demonstration of a full‑stack Scala pipeline using Scala.js, scalajs-react and Scala.CSS to build a small Halloween image‑swipe app. The project shares a single model via an sbt cross‑project so front‑end and back‑end use the same types, uses sbt for incremental compilation and hot reload, runs tests in the browser, integrates a JS library (Konami) via a Scala.js facade, and reports performance close to native JS with a small slowdown; the prototype was produced in two months.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 3:36Halloween app overview
- 11:18Scala.js React structure
- 20:11React components in Scala.js
- 25:36Styling with Scala.CSS
- 28:23Frontend API calls
- 31:01JS library integration
- 33:34Automated tests
- 37:51Performance benchmarks
- 39:15Scala.js pros and cons
- 43:12Experience conclusion
related talks
40mMy Scala application from head to toe
57mReact to ScalaJS
34mIntegrating React with Scala...
32mTaming complex webapps with Scala and React
48mSlinky A Modern Toolkit for Modern Apps
31mHow I learned to stop worrying and love the frontend
29mFull Stack Scala Web Application.
56mScala.js: Safety and Sanity in the Wild West of Web development
