~/talk

Making small modules actually work with webpack and npm

Talkat React Rally 2015 · 2015-08-24..08-25· [javascript, nodejs]
slides:none on file

Claim: webpack plus npm can make tiny front-end modules truly modular by increasing cohesion and reducing coupling. Concrete tools and steps: use Babel loader (JSX) and CSS loader + style loader and url loader for images, enable local scope CSS for per-component classes, configure include/exclude for loaders, publish-dev with npm link, set library target (UMD) and externals (omit React), and use resolve.fallback or remove duplicate React to avoid two copies.

AI-written summary · about

  1. 0:00Start
  2. 6:13COHESION
  3. 6:43COUPLING
  4. 8:07WHAT'S THE PROBLEM?
  5. 12:01LOADERS FOR TRANSPILING
  6. 13:09LOADERS VS. TRANSFORMS
  7. 16:38LOADERS FOR CSS
  8. 19:23LOADERS FOR IMAGES
  9. 23:45RESOURCES
~/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.