~/talk

Getting started with Scala js, Laminar and Vite

Talkat ScalaCon 2022 · 2022-10-04..10-07· [scala, web-platform]
slides:none on file

Builds a small live-editable bar chart using Scala.js, Laminar and Vite and wires Metals and sbt into a fast save–refresh cycle by running sbt ~fastLink and feeding ECMAScript split modules into Vite for subsecond reloads. Uses Laminar VARs and Signals with .split by ID to preserve DOM nodes and two‑way inputs via updater and controlled components. Integrates Chart.js through ScalablyTyped generated typings and pushes data updates to chart.update so the chart and table stay in sync in the demo.

AI-written summary · about

  1. 0:00Introduction to tools
  2. 2:53Scala.js and Vite setup
  3. 7:08Introduction to Laminar
  4. 9:31Data model and state
  5. 12:30Reactive UI rendering
  6. 17:11Optimizing rendering
  7. 21:15Integrating Chart.js
  8. 26:52Building UI components
  9. 33:44Finalizing the application
  10. 37:48Summary and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.