~/talk

Let's Tree-shake it...

Talkat ReactiveConf 2017 · on Wednesday, 2017-10-25· [web-performance, javascript]
slides:none on file

A tiny 3.7 KB source app using rxjs and webpack ends up shipping 220 kilobytes of JS; switching to modular rxjs imports shaves 71 kilobytes, switching to ESM and enabling module concatenation drops the bundle to about 29 KB, and lazy-loading the data chunk plus HTTP/2 push reduces time-to-interactive from ~3.8s to 2.2 seconds (data at 2.6s). Using pure annotations and avoiding CommonJS further trims bytes; measure bundle contents and network timing continuously to catch regressions.

AI-written summary · about

  1. 0:00Start
  2. 6:47Creating a bundle...
  3. 9:25A Dead code elimination (in Uglify)
  4. 12:28A Proper fix using the pipe operator
  5. 16:24A Recommendation #2
  6. 17:15A Module optimizations: Concatenation
  7. 20:12Module optimizations: Code Splitting
  8. 30:11Summary of Recommendations
~/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.