Loved your post about font optimization! And what a surprise was to me when I found out that this article is written by you as well. Such a coincidence that both of them were helpful in the same day. 😄
Thanks for a great material and keep up the good work!
Thanks for a great article! A question:
Do you have a problem that the list of props for some of your components becomes way too bloated/huge, because different people/projects have different requirements? I see that it’s a problem for many OSS components like react-select, etc. How do you solve that?
Булевые модификаторы поддерживаются, а чтобы сделать кастомные разделители, можно указать их в переменных окружения: https://github.com/rebem/classname#custom-delimeters
There is no “correct” syntax in BEM, it’s just important that modifier and element delimiters would differ. Also, in official BEM docs they use _ https://en.bem.info/method/naming-convention/#modifier-name