~/talk

Considering performance, and why we switched to composition

Talkat VueConf Toronto 2024 · 2024-11-18..11-20· [vue]
links:none on file
slides:none on file

Explains concrete fixes: use V-if to remove heavy DOM instead of V-show, measure with Lighthouse and watch web vitals like LCP CLS INP and FCP, avoid >1500 DOM nodes when possible, and virtualize long lists so 2,000 items render ~23 visible rows. Demonstrates useElementVisibility to defer complex cells, useVirtualList for overscan-driven rendering, and useWebWorker with JSON stringify to keep the main thread responsive. Shows bundle wins from composition API via smaller composables, better tree shaking and easier testing.

AI-written summary · about

  1. 0:00Introduction and background
  2. 2:11Why consider performance
  3. 3:34Testing for performance
  4. 7:31Conditional rendering with v-if vs v-show
  5. 10:04Intersection Observer for visibility
  6. 13:01Virtual list for large datasets
  7. 15:54Offloading work to Web Workers
  8. 20:42Loading states and UX
  9. 23:09Bundle size optimization
  10. 24:35Switching to composition API
  11. 27:11Q&A on View 2 to 3 migration
~/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.