After a couple of years of building decoupled sites, the Amazee Labs team has tried several different CSS-in-JS solutions and found this one to be best suited to the needs of our development team.
CSS Modules is a mature project with a syntax that is a superset of CSS, similar to Sass. It makes it easy for you to “think in components” without having to worry about BEM class naming. It automatically generates locally-scoped CSS class names, so you can use “.wrapper” in multiple files without conflict.
Watch the webinar recording to learn about:
Components without BEM
Locally-scoped class names
Catch up on our previous webinars here:
Sharing knowledge and learnings is a key value at Amazee Labs. Keep an eye out for future webinars here!