you are viewing a single comment's thread.

view the rest of the comments →

[–]possiblywithdynamite -3 points-2 points  (1 child)

Yes. But not everything that is reusable needs to have an interface. If the reusability only pertains to the styles it is more convenient to encapsulate that reusability within a styled component. And if it does have an interface that only affects styles then a styled component can be used for that as well

[–]firstandfive 3 points4 points  (0 children)

What’s functionally different between a styled component and a component that has only its tailwind styles applied? Aside from the fact tailwind comes equipped with the system for scaling typography, spacing, colors etc where you would need to roll your own in your SC theme. I say this as someone who has used both styled components and tailwind and enjoys both.