CSS Modules: Who, what, where, when and why?!

2c4d5ca71a92e0860a78e4f9e50e4406?s=47 Chris Pearce
February 25, 2016

CSS Modules: Who, what, where, when and why?!

An exploration into the fundamentals of CSS Modules and how it can allow a rapidly growing product to be built effectively.

As front-end developers we have the tendency to form a love-hate relationship with our CSS. On one hand it can be satisfyingly trivial to piece together some really good looking UI but on the other it can become an unruly beast if not treated with extreme caution. CSS Modules has been born out of problems scaling CSS and provides us with a revolutionary shift in how we are forced to consider writing our styles

Presented at "Frontend London" 25th February 2016.

http://www.frontendlondon.co.uk/

Further reading: http://chrispearce.co/elephants-the-three-code-ilities-two-months-with-css-modules/

2c4d5ca71a92e0860a78e4f9e50e4406?s=128

Chris Pearce

February 25, 2016
Tweet

Transcript

  1. 13.
  2. 14.
  3. 18.

    Anytime! • Will require special loading • Can live happily

    alongside existing global CSS • Better templating support soon
  4. 21.

    Maintainability Strong component encapsulation means it is easy to locate

    where to make changes and doesn’t require external contextual thought.