Image
Direct link to the article Web Standards Meet User-Land: Using CSS-in-JS to Style Custom Elements

Web Standards Meet User-Land: Using CSS-in-JS to Style Custom Elements

The popularity of CSS-in-JS has mostly come from the React community, and indeed many CSS-in-JS libraries are React-specific. However, Emotion, the most popular library in terms of npm downloads, is framework agnostic.

Using the shadow DOM is common when …

Image
Ollie Williams on Updated on
Image
Direct link to the article #170: Watch an Amateur Spin Up a React + Babel + Webpack + CSS Modules Project

#170: Watch an Amateur Spin Up a React + Babel + Webpack + CSS Modules Project

Fair warning! This isn’t a speedy, straightforward, expert-driven plow-through of how to set up these technologies. Although, by the end, we do successfully get it all going. This is about documenting the real-world experience of doing this kind of work. …

Image
Chris Coyier on