DEV Community

Discussion on: A simple strategy for structuring TailwindCSS classnames

Collapse
 
andreidascalu profile image
Andrei Dascalu

It is, mostly because your organizational solutions go well with React/Angular. Do that in any other kind of web app, templating system and so on and it quickly gets out of hand. You need to manage your lists of classes in code and break the whole point of having a presentation layer.
Scss still works better. If there's a cross-apptype solution, I'd rather stick with that since it's usable in more cases.

Thread Thread
 
wheelmaker24 profile image
Nikolaus Rademacher

Fair point – these tipps will only help if you are using a framework / library that uses JavaScript / JSX for the "presentation layer".