~/talk

Rewriting a Production SPA in Elm

Talkat Oslo Elm Day 2017 · on Saturday, 2017-06-10· [functional-programming, frontend-architecture]
links:none on file
slides:none on file

A 5,000-line React SPA gets incrementally ported to Elm over six months, rendering Elm inside React and using ports to pass JSON into the Elm UI while moving validation and decoding into Elm decoders and union types. Deployment happens page-by-page; one library is forked (navigation) to support IE11. Results: far fewer runtime errors, simpler refactoring, reduced "sanity" tests, team learning by copying pages, and an Elm codebase growing past 10,000 lines with clearer domain types.

AI-written summary · about

  1. 0:00Intro
  2. 0:30Questions
  3. 1:20Outline
  4. 1:40F
  5. 2:13IT
  6. 2:46JavaScript
  7. 6:14Onboarding
  8. 7:03Pitch
  9. 7:44React App
  10. 8:13Rewriting
  11. 9:11UI
  12. 10:28Directory Structure
  13. 11:22Type Structure
  14. 13:20Publicfacing apps
  15. 14:10Teaching the team
  16. 15:25Functional constructs
  17. 15:51Navigation
  18. 16:06API
  19. 16:29Language
  20. 16:52Testing
  21. 17:49Compiler Errors
  22. 18:42Code Wrapping
  23. 19:05Functions
  24. 19:21Avoid underscores
  25. 19:32What does it take
  26. 20:07Union types
  27. 20:33Conclusion
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.