4 ms·
The real answer is in CSS developing a proper supported way to do mixins. I keep being surprised that noone bring this up in these discussions.
by di4na 4y ago
The real answer is in CSS developing a proper supported way to do mixins.
I keep being surprised that noone bring this up in these discussions.
- presentation 4y agoI do it with emotion (CSS in JS), specifically NOT using styled components and instead using the CSS prop which allows for composing styles more naturally, and it works great. Never felt a need to get my team on Tailwind since it’s already super productive with the right set of mixins.
- di4na 4y agoI get you, the problem is that CSS in JS is simply not possible for the vast majority of web developers out there that work on a site render framework that is not JS ;) I think this is the main reason why Tailwind took off so fast. The frontend tooling world forgot the majority of its users.