~/talk

An in-flight port from Angular to React, a tale of performance and happiness

Talkat NDC Oslo 2019 · 2019-06-17..06-21· [react, angular]
links:none on file
name:Paulin
links:none on file
slides:none on file

A production e-commerce checkout (Nets Easy iframe) gets rewritten piecewise from Angular to React while releasing every three weeks; webpack and bundle-analyzer reveal ~4 MB payload bloated by Angular, RxJS and jQuery which is trimmed to 725 KB (eventual 82% reduction). State runs in parallel Redux and ngRx via a custom Angular service and middleware to mirror actions, effects become redux-saga generators, and tests plus BrowserStack keep stability. Result: startup drops from ~6s to ~300 ms, fewer bugs, faster feature velocity and happier developers. Redux/ngRx parity redux-saga for side effects 4MB → 725KB (82%) 6s → 300ms

AI-written summary · about

  1. 0:00Intro
  2. 1:24What is Easy
  3. 2:54Demo
  4. 9:00Release cycle
  5. 9:39Demonstration
  6. 12:02Technology
  7. 13:57Components
  8. 15:06Component tree
  9. 15:55Templates
  10. 16:44Angular to React
  11. 19:57Performance
  12. 20:30Production
  13. 21:15State
  14. 23:38Relaxed
  15. 24:24How it works
  16. 26:17Action lifecycle
  17. 28:39Angular component
  18. 29:36Redux component
  19. 30:54Side effects
  20. 32:29Funk vs Saga
  21. 35:20Bootstrap
  22. 37:54Results
  23. 40:40Tools used
  24. 41:40What did we replace
  25. 42:24Test coverage
  26. 43:19Why did we choose this gradual approach
  27. 45:02Should everybody rewrite
~/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.