6
BEM methodology is not about CSS
(vitonsky.net)
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Follow the wormhole through a path of communities !webdev@programming.dev
I do agree.
Given that naming the element only and selecting for the hierarchy gives you completely equivalent functionality, with completely equivalent selectors, I do prefer the option that keeps the names more generic.
BEM always looked like a hack to increase the CSS selection performance, and not something that adds architectural value. And well, we don't need hacks of that level anymore, browsers are well optimized nowadays.