~/talk

Common Mistakes in Vue.js

Talkat Vuejs Amsterdam 2024 · 2024-02-28..02-29· [frontend-architecture]
slides:none on file

Demos show concrete bugs and fixes: using index as key breaks component state when an array reorders but a proper stable id fixes the shuffle animation (V Auto animate via a formkit package is used); generating ids with crypto.randomUUID must happen when the array is created, not inside the key; a counter demo proves adding a key forces DOM replacement for transitions; examples contrast ref vs reactive (ref avoids lost reactivity and watcher depth surprises); cloning objects prevents silent prop mutation.

AI-written summary · about

  1. 0:00Vue.js mistakes intro
  2. 2:05Using index as key
  3. 8:10Keys force DOM rendering
  4. 9:38Non-reactive browser APIs
  5. 11:43Replacing reactive arrays
  6. 17:25Mutating props
  7. 24:16Summary & recommendations
  8. 25:01Q&A
~/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.