The Unbearable Weight of Massive JavaScript
summary
Claims a 55,000-line JavaScript codebase shrinks to 650 lines and time‑to‑interactive drops from about 12s to ~3s by prioritizing progressive enhancement and platform APIs. Uses import maps to avoid heavy bundling, custom elements for encapsulated widgets, scroll‑linked animations and view transitions for GPU‑accelerated visuals, plus the navigation API to handle soft navigations. Builds an e‑commerce site, replaces SPA complexity, and reports the result actually works and measurably improves performance.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 1:48Why this talk matters
- 3:32Growing JavaScript problem
- 8:11Lost sight of users
- 13:51Performance trade-offs
- 20:39What users need
- 26:26Embrace web platform first
- 32:24Five web platform APIs
- 47:30Bonus APIs and results
- 50:23Q&A
related talks
49mThe Unbearable Weight of Massive JavaScript
45mDid We(b Development) Lose the Right Direction?
21mEvolution of Web Performance
28mDecoding JavaScript: Loading Performance —
41mHow we make Web Apps lightning fast at Microsoft!
37mSecret Shortcuts of Loading Web Performance
16mThe Evolution of Web Performance
26mWeb Performance in modern JavaScript world
