News for hackers. Stuff that matters.
Re:Why Tailwind Isn't for Me by chrischen on Friday January 26, 2024 @07:39AM (#39141985)
When you label something the implicit purpose is that it is now reusable. But an InnerWrapper class defined within a React component should be private and not actually reused, whether you are using global styles or css in JS (because it should be a private implementation detail—otherwise the component consumer has to also figure out the classes to apply).
Re:Why Tailwind Isn't for Me by dbbk on Friday January 26, 2024 @09:34AM (#39143032)
> When you label something the implicit purpose is that it is now reusable.

What makes you think that? I wouldn't use a wrapper element from a different component in another component. At some point you just have to use common sense.