React to ScalaJS
summary
Demonstrates that Scala-JS 0.6 non-experimental compiles real Scala to browser JS with source maps and Google Closure optimization, producing a small bundle (hello world ~100 KB). Builds a working React front end using scalajs-react + uPickle + Google Closure for DOM, AJAX (Scala Futures) and a map via OpenLayers; a search-for-location + comments demo successfully runs. Notes practical limits: compile cycles are seconds not milliseconds and ecosystem patterns/blueprints are still immature.
AI-written summary · about
chapters (11)
- 0:00Introduction and background
- 3:38Scala JS overview and setup
- 9:20Hello World in Scala JS
- 14:20Using Scala libraries with Scala JS
- 21:15AJAX and JSON with Scala JS
- 25:59Why choose React for Scala JS
- 29:13Building React components in Scala
- 35:59Stateful components in React
- 46:30Final application structure
- 49:21Challenges and future of Scala JS
- 51:52Q&A and closing remarks
related talks
50mScala.js, Scala.CSS and React: the Story of a Discovery
40mMy Scala application from head to toe
34mIntegrating React with Scala...
31mSCALA FROM B TO F - BACKEND DEVELOPER ON FRONTEND
31mHow I learned to stop worrying and love the frontend
32mTaming complex webapps with Scala and React
48mSlinky A Modern Toolkit for Modern Apps
44mUsing Scala.js and functional reactive programming for developing (enterprise) applications
