~/talk

Understanding Dependencies in JavaScript to Create More Performant App

Talkat UtahJS Conf 2023 · on Friday, 2023-09-15· [javascript, web-performance]
slides:none on file

A small React Pokedex app shows concrete wins: initial main bundle is about 241 KB, route-based code splitting drops main to ~87 KB and total page load to ~136 KB, and deferring jspdf (107 KB gzipped) with a dynamic import delays a 110 KB download until the Save PDF click. Use webpack bundle analyzer to inspect which third‑party modules dominate, and check package sizes on bundlephobia.com before adding dependencies to avoid surprising bloat.

AI-written summary · about

  1. 0:00Introduction to dependencies
  2. 2:13Bundle analysis basics
  3. 6:20Visualizing bundle makeup
  4. 9:25Using webpack bundle analyzer
  5. 11:53First code splitting step
  6. 13:20Lazy loading routes
  7. 16:28Dynamic imports for features
  8. 20:44Evaluating third-party libraries
  9. 21:47Key takeaways summary
~/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.