~/talk

Modular CSS

Talkat React Alicante 2017 · 2017-09-28..09-30· [css, react]
slides:none on file

Argues a concrete claim: component‑scoped styling (using CSS Modules or styled-components) gives traceability, avoids naming collisions and lets styles live with logic; tool demos include Styletron and CSS‑in‑JS producing server‑rendered class names, React Native and Sketch exports, and a 60fps animation test with hundreds of elements; benchmarking shows ~half the CSS output with Styletron and a median 72% repetition in top sites so modular approaches cut real bytes and maintenance cost.

AI-written summary · about

  1. 0:00Start
  2. 1:22A brief history of CSS
  3. 4:24Web-applications are built with UI Components
  4. 5:31Separation of concerns
  5. 8:30What about styles?
  6. 10:43Manual work
  7. 17:13styled-components [...] removes the mapping between components and styles.
  8. 17:28Styled Primitives
  9. 19:13Universal rendering
  10. 20:35Design systems shared between designers and developers!
  11. 22:203. Maintanability Speed
  12. 24:53styletron
  13. 25:43Use functional CSS
  14. 26:15SASS has variables, mixins, etc.
  15. 31:37Takeaways
  16. 33:19Stay open-minded & keep experimenting!
~/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.