|
|
|
|
|
by mschaef
2829 days ago
|
|
> Yikes. Agreed. Wholeheartedly. > I agree that this might help you move quickly when starting a project I don't even see this... at least I can't imagine a case where I'd want to replace "background: #333;" with "bg-gray-darker". The CSS has at least been well established for years/decades, and it'll be much easier to find documentation/support/etc. > But you pay a huge cost: maintainability. There is no encapsulation at all, He's advocating that the encapsulation happen at the level of templated markup (or JSX, whatever), rather than at the level of CSS classes. |
|