~/talk

Writing Modular CSS with CSS modules

Talkat The Lead Developer 2016 · 2016-06-23..06-24· [css, frontend-architecture]
slides:none on file

Claims that CSS Modules makes styles local by default and appends a unique hash to class names so rules cannot clobber each other, demonstrates with a small form where reusing the class name input changes one element without breaking others, and uses WebPack css-loader to transform styles at build time. Shows composition and opt‑out for global CSS, publishes demo code on GitHub, and confirms the approach components encapsulate styles and works alongside Less/Sass and server frameworks.

AI-written summary · about

  1. 0:00Intro
  2. 0:42Why do we need more tools
  3. 0:52Shared Global Scope
  4. 1:14Sharing Code
  5. 1:28Reusable Components
  6. 2:28CSS Modules
  7. 3:12Unique Hash
  8. 4:08Code Dependency
  9. 4:24Demo
  10. 6:06Code
  11. 6:56Webpack
  12. 7:35Post
  13. 8:19Benefits
  14. 8:55Thank you
~/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.