|
|
|
|
|
by pupppet
708 days ago
|
|
You lost me at ‘maintain’. It’s definitely not easier than just updating a single .button class, and I’m not going to create reusable components out of everything in my project, the <Button /> approach doesn’t work for everything. |
|
(assuming no css-in-js) Your styles are bound to the component, not some global in your app.
States and their representations are controlled in the component themselves
With normal css files and class names, you must jump between files. With tailwind, I see what's going on with a component right in my jawascript