~/talk

Migrating a big old codebase to Vue 3: what I'm excited about

Talkat Vue.js Global 2020 · 2020-09-17..09-18· [javascript, vue]
slides:none on file

A 230,000‑line GitLab front end with 502 Vue applications and about 1,298 .vue files faces slow renders and expensive destroys from thousands of stateful components; Vue 3 removes the need for functional templates so performance improves just by upgrading. Migration plans replace nested mixins with explicit composition API composables, swap Vue Apollo v2 patterns for Vue Apollo 4 hooks, adopt multiple v‑models for GitLab UI tables, and use defineComponent to get effortless TypeScript inference. Devtools gain per‑app selection to inspect each mounted app.

AI-written summary · about

  1. 0:00Intro
  2. 0:46How old?
  3. 5:07Performance
  4. 5:52Functional components
  5. 9:19Mixins
  6. 12:09Composition API
  7. 15:33VueApollo-Options API
  8. 17:07VueApollo - Components
  9. 19:55Multiple v-model
  10. 21:45TypeScript
~/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.