~/lightning

99 Ways to Take Away Your Ugly Polyfills

LightninginRussianat JavaScript fwdays'18 · on Sunday, 2018-03-18· [javascript, web-platform]

Distinguishes shims from polyfills and gives concrete fixes: use @babel/preset-env with useBuiltIns: "usage" or the entry import pattern together with core-js and regenerator-runtime so only needed helpers and generators are included. Shows runtime delivery via polyfill.io and a server-side strategy that serves three user-agent–specific bundles (modern, intermediate, and full legacy/IE) to cut client payloads for about 95% of users while still covering IE, reporting reduced typical download sizes.

AI-written summary · about

  1. 0:00Introduction
  2. 0:27Shims vs polyfills
  3. 1:10Why polyfills needed
  4. 2:15Babel with polyfills
  5. 3:17Polyfill browser issues
  6. 3:38Babel-plugin-compact solution
  7. 4:43Core-js advantages
  8. 5:24Babel useBuiltIns & corejs
  9. 6:08Babel options demo
  10. 7:31Dynamic polyfill downsides
  11. 8:56Bund-utils optimization
  12. 9:39Bund-utils performance
  13. 10:00Summary & links
~/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.