DEV Community

Discussion on: Styled-Components: Why you should (or should not) use it

Collapse
 
brense profile image
Rense Bakker

There are solutions to the "performance" issue. PandaCSS fixes this problem for example and offers an even better experience by combining the advantages of styled components, cva and slots recipe. The amount of css it generates is also finite, unlike styled components which can generate thousands or even millions of unique class names in large (huge) projects. PandaCSS is like using tailwind, but using actual CSS, instead of limited utility classes.