2 ms·
Why do people hate css so much?!?! Why is the solution to styling components to throw out css? I thought BEM and other css frameworks/conventions solved this p
by smadge 11y ago
Why do people hate css so much?!?!
Why is the solution to styling components to throw out css?
I thought BEM and other css frameworks/conventions solved this problem.
For example:
myComponent/myComponent.jsx
myComponent/myComponent.css
in myComponent.css
.myComponent {
/* whatever */
}
Since all of your components are uniquely named(I hope), you can just use flat single class selectors without any specificity issues.