|
|
|
|
|
by nsonha
937 days ago
|
|
if you already use a high level component model, why does it matter that it's implemented in Tailwind? What is the benefit of Tailwind anyway? You should think in terms of props and variants, not some alias indirection to css properties. |
|
They have kind of reduced the CSS landscape from very complex to a concise subset that does most of the stuff you want for a modern looking site. It gets to the point where the amount of stuff fits into working memory. It is convenient.
Then if you copy-paste components from different places like for example this submission and others, they can play well together. You can go in an edit them and manipulate them in predictable ways. You can componentise them in say React if you wish.
Imagine mixing up Bootstrap and Bulma - it would be quite hard to do. But if they are both based on Tailwind it is a lot easier. The components wont fight each other. The reality is none of the frameworks provide everything you need so you need to mix and match to get stuff done (or invent your own, which is OK too).
Hope this makes sense. It is hard to explain because you have to do it to feel it.