~/talk

Common Mistakes in Vue js and How to Avoid Them

Talkat VueConf Toronto 2023 · 2023-11-08..11-09· [vue, developer-experience]
slides:none on file

Shows concrete bugs and fixes: using index as key breaks component state when list items reorder and contain internal state — fix by keying with an id/name (demo: shuffled Pokémon cards); DOM transitions need keys to trigger animations (uses VAutoAnimate). Browser APIs like localStorage are nonreactive — demo switches to @vueuse media composable to get reactive playing state. Reassigning a reactive object kills reactivity — recommended use ref everywhere. Avoid mutating object props by cloning (e.g. JSON.parse(JSON.stringify(...))).

AI-written summary · about

  1. 0:00Introduction
  2. 1:25Why avoid Vue mistakes
  3. 2:08Using index as key
  4. 6:52Key beyond loops
  5. 9:01LocalStorage not reactive
  6. 12:52Reassigning reactive variables
  7. 17:29Mutating props directly
  8. 25:02Course overview
  9. 27:32Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.