~/talk

Common Mistakes in Vue and Nuxt and How to Avoid Them

slides:none on file

Shows concrete bugs and fixes: using index as v-for key breaks stateful child components and list reordering, so use a stable id/slug; browser APIs like localStorage or Date aren’t reactive unless wrapped (useUse/refs); replace $fetch with useFetch vs $fetch or useAsyncData to avoid double server+client requests; type fetch results via generics for autocomplete; run requests concurrently with useAsyncData + Promise.all; navigate with navigateTo not router.push.

AI-written summary · about

  1. 0:00Introduction
  2. 0:44Why mistakes matter
  3. 2:10Misusing key in v-for
  4. 5:46Stateful components and key
  5. 8:57Key for transitions
  6. 10:23Non-reactive computed props
  7. 12:28Nuxt data fetching mistakes
  8. 15:16TypeScript for API responses
  9. 17:23Optimizing concurrent data fetching
  10. 21:17Nuxt navigate vs router.push
  11. 22:41Additional resources
  12. 23:45Q&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.