~/talk

How to debug Vue Apps

Talkat Vueconf.US 2022 · 2022-06-08..06-10· [vue, developer-experience]
slides:none on file

A short, practical walk-through that reproduces a Vue reactivity bug in a small resource-gallery app (five cards) and shows why using a ref vs reactive for an array makes every card re-render; Vue DevTools’ performance tab and the onRenderTriggered hook prove five renders per click and reveal the culprit. The demo records the run with Replay.io, inspects framework internals (createElement runs ~198 times, createHref ~15), and retroactively adds Replay retro console logs to trace and fix it.

AI-written summary · about

  1. 0:00Introduction
  2. 9:30Debugging Reactivity
  3. 17:46Other patterns
  4. 19:41What about the framework itself?
  5. 27:05Embrace bug intentionally
  6. 28:59Thank you!
~/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.