My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more
Stop using CSS in JavaScript for web development - Gajus Kuizinas - Medium

Stop using CSS in JavaScript for web development - Gajus Kuizinas - Medium

Gajus Kuizinas's photo
Gajus Kuizinas
·Apr 27, 2017

styled-components is now trending as the new way to style components in React.

I dislike the trend because it is surrounded by a lot of misconceptions.

I surveyed people reasons for using styled-components on IRC, Reddit and Discord and compiled a list of common responses for choosing to use styled-components. I call them myths.