~/talk

An Phan - Vue 2 to 3 migration: A real-life experience - Vuejs Amsterdam 2022

Talkat JSWorld Conference 2022 · 2022-02-09..02-11· [vue]
name:An Phan
links:none on file
slides:none on file

Migrating a real app from Vue 2 Options API to Vue 3 Composition API shows concrete changes: the mounting API and event-bus pattern break, async components require defineAsyncComponent for tree shaking, and reactivity now uses Proxy so Vue.set no longer needed. Mixins become composable functions so mixins → composables and script-setup cuts boilerplate roughly 50% in examples. Testing shifts to @testing-library/vue, the porting takes about two weeks with testing one and a half, and the repo ends up +10k / -12k lines after fixes.

AI-written summary · about

  1. 0:00Start
  2. 9:59REACTIVITY SUPERCHARGED
  3. 16:04ASYNC COMPONENTS
  4. 24:02COMPONENTS AND MODEL BINDINGS
  5. 25:28ABOUT TESTING
~/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.