~/talk

Functional Programming in Vite with Elm

Talkat ViteConf 2022 · 2022-10-11..10-12· [functional-programming, web-platform]
slides:none on file

Shows how to add Elm to a Vite app by installing vite-plugin-elm and running elm init, then importing Elm.main.init into a DOM node to render a working counter component; builds with npm run dev and the Elm compiler produces JS with no runtime null/undefined crashes and strong static types; includes the time-traveling debugger for stepping model state; demonstrates embedding Elm into an existing Vue starter so you can experiment on one feature without rewriting the whole app.

AI-written summary · about

  1. 0:00Introduction to Elm
  2. 1:09Understanding Elm Features
  3. 3:26Elm vs JavaScript
  4. 5:51Compiler and Error Messages
  5. 7:43Building an Elm Counter
  6. 10:42Integrating Elm with Vite
  7. 14:22Elm in Existing Apps
  8. 17:29Conclusion and Resources
~/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.