Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You’re assuming I’m going to create a component out of any element on the page that needs styling. In my project I could just have a small handful of these scattered across hundreds of files:

<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?



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: