DEV Community

loading...

Discussion on: Don't Trust the Cascade - Why I write CSS in JavaScript

Collapse
benfluleck profile image
Benny Ogidan

This is a nice summarized article thanks for that. Can I give a shout out to emotion.js which does almost exactly what styled-components does and occupies less space.

Before JS I used to involve myself with only CSS. After being introduced to styled-components I have found it impossible not to use on React projects. I still try to adhere to semantic-ui HTML principles as much as I possibly can when using styled-components and it provides excellent support for this.