|
|
|
|
|
by compootr
703 days ago
|
|
Yes, it is easier to maintain (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 |
|
<table class=“datatable”>
If I used tailwind utility classes, how do I update my data table styling without having to search and replace across all of my files? Assuming you could even search and replace, the utility classes could be in a different order. Not saying it’s not doable, but it seems like a real pain in the ass. What am I missing?