~/talk

Webpack – The React Parts

Talkat ReactNext 2017 · 2017-09-08..09-10· [javascript, react]
slides:none on file

Shows concrete webpack steps that cut a demo React app from 1.5 MB to 280 KB by using process.env NODE_ENV replacement, minifiers for JS/CSS/HTML, and bundle splitting with CommonsChunk plus a runtime/manifest fix. Demonstrates build analysis via webpack-bundle-analyzer and stats JSON, adds dynamic imports using import() with a small loadable wrapper for lazy loading, and sketches a working universal/server+client chunk-loading approach that is promising but still bleeding edge.

AI-written summary · about

  1. 0:00Start
  2. 8:06Techniques
  3. 16:08Minifying === How to convert code into a smaller form without losing anything essential?
  4. 18:08Bundle Splitting
  5. 27:54SSR +CODE SPLITTING UNIVERSAL RENDERING
~/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.