An Phan - Vue 2 to 3 migration: A real-life experience - Vuejs Amsterdam 2022
summary
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
chapters (5)
- 0:00Start
- 9:59REACTIVITY SUPERCHARGED
- 16:04ASYNC COMPONENTS
- 24:02COMPONENTS AND MODEL BINDINGS
- 25:28ABOUT TESTING








