| ▲ | spankalee a day ago | ||||||||||||||||||||||
I haven't seen cascades be a problem since the days of monolithic, app-wide stylesheets, and no project I personally know of works that way anymore. Just about everyone uses component-specific styles with a limited set of selectors where there are very few collisions per property, and pretty clear specificity winners when there are. If the alternative to the cascade is that you have to repeat granular style choices on every single element, I'll take the cascade every time. | |||||||||||||||||||||||
| ▲ | Klonoar a day ago | parent [-] | ||||||||||||||||||||||
> Just about everyone uses component-specific styles Yeah. At which point you can simply use e.g Tailwind. | |||||||||||||||||||||||
| |||||||||||||||||||||||