|
|
|
|
|
by const_cast
328 days ago
|
|
> So your <Button> component still has 60 tailwind classes on it? Yes, and this is better I think, because you still have only one button. So you just reuse the component. But if you make a .button class, now people are going to be tempted to use that to style their own buttons. And now, you have a dozen buttons and your app breaks in tiny little ways and your codebase is a hot mess. |
|
How is having consistent design across the entire application a bad thing?