Integrating React with Scala...
summary
Describes a concrete pattern that injects React into a Scala Play monolith by serving Play templates that include script tags pointing to a separate JS server, using reverse proxying to route asset requests to a webpack dev server in development and compressed bundles in production. Uses a small helper that exposes a global component library to mount independent React trees with TypeScript types, yielding hot reloads, faster builds, incremental front/back split and a working demo.
AI-written summary · about
chapters (8)
- 0:00Start
- 3:58Poor development experience
- 7:58Slow product evolution
- 17:22Opinionated
- 23:15Performant
- 24:12Typesafe
- 27:45Reverse Proxy
- 29:55JavaScript Injection Helper
related talks
50mScala.js, Scala.CSS and React: the Story of a Discovery
57mReact to ScalaJS
40mMy Scala application from head to toe
48mSlinky A Modern Toolkit for Modern Apps
45mINTEGRATING SCALA.JS INTO AN EXISTING FULL STACK APP
40mFull Stack Scala
25m"React integration into existing Rails applications"
31mSCALA FROM B TO F - BACKEND DEVELOPER ON FRONTEND
