DEV Community

loading...

Discussion on: An intro to styled components in your react project

Collapse
joebobmiles profile image
Joseph R Miles

I've been re-writing the styles of my personal website with Styled Components after having written the styles in Sass a couple of years ago. There's a lot to like about Styled Components, but I've also found myself running headlong into undocumented anti-patterns, such as creating a styled component for every HTML element in the component. Definitely has a learning curve for sure, but I'm having a blast.

Collapse
willholmes profile image
Will Holmes Author

Interesting - my fear with this tech was that it would actually introduce more admin than needed (like the every styled component for html). It would be great to see a write up maybe of your experience with it?

Collapse
joebobmiles profile image
Joseph R Miles

I can certainly oblige!

Collapse
joebobmiles profile image
Joseph R Miles

As promised, here's my write up about my experience migrating from Sass to Styled Components: dev.to/joebobmiles/migrating-from-...