#bem should not exist
▻https://hackernoon.com/bem-should-not-exist-6414005765d6?source=rss----3a8144eabfe3---4
There is a lot of reasons for not using this methodology, but because of its simplicity and misunderstanding of work of HTML and #css, this methodology has spread wildly among frontend developers around the world; in most cases among developers from CIS countries. BEM is used now in large Russian-language projects (Yandex, Habr) and in several frameworks (react-md). In this article, a detailed review of the pros and cons of this development approach will be conducted. All examples will be shown from the official BEM site.Acronym “BEM” — block/element/modifier. Every design or layout can be visually parted on blocks, for example — sidebar. Each block can contain one or several elements. Elements can have modifiers of states (active, disabled),additional classes for changes of borders, width, (...)