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.
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?
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.
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?
I can certainly oblige!
As promised, here's my write up about my experience migrating from Sass to Styled Components: dev.to/joebobmiles/migrating-from-...