~/talk

Light, lazy asynchronous patterns for Vue Apps

Talkat VueConf TO 2018 · on Friday, 2018-11-16· [vue, web-performance]
slides:none on file

Webpack dynamic import returns a promise and Vue turns a function that returns that promise into a lazily loaded component, so big libs live only in the pages that need them. The demo shows 3js at ~130 KB gzip and a vendors bundle shrinking from ~160 KB to ~30 KB after lazy loading. Covers lazy-load components in router, use prefetch but avoid preload unless needed, and alternatives for UX like the async component factory and Vue Promise

AI-written summary · about

  1. 0:00Introduction
  2. 2:30It all starts with Webpack
  3. 5:40Lazy-loading Components
  4. 9:48Dynamic Components
  5. 15:24Analyzing your app
  6. 19:22Handling errors
~/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.