Responsible Javascript
summary
Claims that shipping less JavaScript speeds real users: 90th-percentile sites send ≥1MB compressed, main thread can be blocked 2–6 seconds on low-end phones like a Moto G4, and simple fixes cut bundles dramatically — tuned Babel options (useBuiltIns: "usage", loose) reduce one example by 52% and differential serving (type="module"/nomodule) yields up to 40% savings for modern browsers. Concrete tactics: prefer semantic HTML to remove client-side validation, avoid costly Babel transforms (default params/classes), and use client hints (rtt/downlink/ect) to send lighter UX on slow networks.
AI-written summary · about
chapters (8)
- 0:00Introduction to Responsible JavaScript
- 3:30JavaScript growth and performance impact
- 7:02Paint the picture not the frame
- 10:55SPAs and external consistency
- 13:20Tools are not infallible
- 18:11Differential serving explained
- 22:20Adapting to user constraints
- 28:37Closing on purpose and care
related talks
58mResponsible JavaScript
37mThe Cost of JavaScript
51mWhen JavaScript Bytes
41mHow we make Web Apps lightning fast at Microsoft!
30m10KB or Bust: The Delicate Power of Webpack and Babel
31mBeyond the bubble
29mSpeed Essentials: Key Techniques for Fast Websites
52m10KB or Bust: The Delicate Power of Webpack and Babel
