~/talk

Refactor legacy code, Vue that was easy!

Talkat VueDay 2019 · 2019-04-12..04-13· [vue, frontend-architecture]
links:none on file
slides:none on file

Claim: legacy jQuery and AngularJS can be migrated incrementally to Vue using two concrete strategies and real tooling. One strategy builds Vue components and exports them as web components via Vue CLI; another uses a Vue “orchestrator” with Vue Router and Vuex plus factory wrappers and dynamic imports to mount legacy SPAs. A contact-button web component ships in two days, an AngularJS SPA integrates into a Next/Vue site in production, and the project spans 150–170 components and ~100,000 lines of code that runs (Next build ~1.5GB RAM).

AI-written summary · about

  1. 0:00Intro
  2. 0:30Who am I
  3. 2:00Master all your courage
  4. 2:23One view per day
  5. 2:53Vue Orchestrator
  6. 3:39Vue per day
  7. 4:20When to refactor
  8. 4:49Practical step
  9. 5:30Pros and cons
  10. 6:36Strategy overview
  11. 7:13Why
  12. 7:42Internals
  13. 8:15Transformation
  14. 9:12Success
  15. 9:54Why web component
  16. 10:57Why Vue castrator
  17. 11:33When to use this strategy
  18. 12:53Cons
  19. 13:34Case study
  20. 15:05Why refactor
  21. 16:53Code
  22. 19:40Strategy
  23. 22:17Demo
  24. 23:36Integration with jQuery
  25. 25:41Advanced Example
  26. 29:04Coding
  27. 31:07Advantages
~/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.