DEV Community

Discussion on: Styled Components

Collapse
 
chuniversiteit profile image
Chun Fei Lung

After comparing a lot of different styling libraries I ended up choosing styled-components for my website too, for the same reasons that you mention in your post.

Ironically, the one issue I had with it was it would sometimes mess up the generated class names in the production build. πŸ™ƒ

Collapse
 
patriciadourado profile image
Patricia Dourado

Wow! I never went through this! Did you only use styled-components or something else along with?

Collapse
 
chuniversiteit profile image
Chun Fei Lung

No other styling libraries, but I did use it with some other tools that might also do some weird stuff for production builds.

It’s been several months since I ran into the issue, so I assume they’ve fixed it by now. πŸ˜„

Thread Thread
 
patriciadourado profile image
Patricia Dourado

This is very likely! :P