~/talk

Modular CSS

TalkinRussianat HolyJS 2016 · on Sunday, 2016-12-11· [css]

Explains making CSS modular by importing styles into JavaScript using PostCSS and bundling with Webpack, employing CSS Modules to produce short hashed class names and explicit imports. Describes a real migration from Sass to PostCSS that improved compile speed about 10×, recommends one-directory-per-component and exporting variables between style files, and shows that this build-time approach isolates styles, reduces global conflicts, and supports server-side rendering.

AI-written summary · about

  1. 0:00Introduction
  2. 1:27Scalable UI components
  3. 7:32CSS in large projects
  4. 10:32Tech separation & structure
  5. 15:57Style isolation with BEM
  6. 22:36CSS Modules
  7. 29:43CSS Modules pros/cons
  8. 31:10Preprocessors & tools
  9. 34:26Plugins & automation
  10. 38:52Summary
  11. 42:06Q&A
~/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.