~/lightning

Lightning talk from Andrey Sitnik

Lightningat ReactiveConf 2017 · on Thursday, 2017-10-26· [web-performance, developer-experience]
slides:none on file

JavaScript libraries often hide big transitive costs: polyfills and unexpected dependencies inflate bundles by tens or hundreds of kilobytes. Measure the real cost by building a minimal webpack project, requiring the library, and taking the delta. Use size-limit as a guard, run CI checks and fail PRs that add bloat, and use the --why flag to invoke bundle analysis. Practical results include a ~25% reduction in shipped JS.

AI-written summary · about

  1. 0:00Start
  2. 1:40The rule of optimization
  3. 2:03Bundle size?
  4. 2:16Small example
  5. 2:47Bundle size vs. the real cost
  6. 3:26Main reason of heavy bundle
  7. 4:03Size Limit calculates library size
  8. 4:27Size Limit prevents regressions
  9. 5:07Size Limit reduced...
~/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.