~/talk

The Rise of Modular Style

Talkat CSSConf.Asia 2015 · on Wednesday, 2015-11-18· [css, frontend-architecture]
slides:none on file

Claims that CSS gains a module system now translate into concrete pieces: a tiny intermediate format called Interoperable CSS that adds :import and :export pseudo‑directives, a CSS Modules compiler that rewrites classes into safe hashes and emits a JS mapping, and toolchain glue for webpack/browserify with no runtime dependency. Composing replaces Sass extend to avoid selector bloat, shared atoms let many components reuse the same rules, and a dependency graph enables future dead‑code removal; the work is recent but already interoperates with existing bundlers.

AI-written summary · about

  1. 0:00Glen Maddern The Rise of Modular Style
  2. 3:03JavaScript in 2008
  3. 6:10Interoperable JavaScript Modules March 21, 2009 Kris Kowal
  4. 7:11"Whatever Node Does" became the standard
  5. 8:12Sweet JavaScript History Lesson Dude!
  6. 9:45Browserify September 5, 2011
  7. 10:28You can change the human interface of a language without needing to change the machine interface.
  8. 11:19None of these change the global nature of CSS
  9. 18:37Part 2 Modular Style
  10. 20:11The number of mistakes a new developer makes when learning to use a system is a value judgement of the system. not the developer
  11. 25:36Break the 1-to-1 mapping between entities and classes
  12. 27:38Single Purpose Files full of Single Purpose Classes
  13. 28:32Define an API into your styles for your markup to use
  14. 28:44Modular Style?
  15. 29:24Flexibility
~/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.