Out of interest, that article goes out of its way to argue that the whole BEM format is changed to CamelCase, so that the atomic modifier can use "-".
Why wouldn't you just use the existing BEM component separator "__", and then nothing else need change.
The CamelCase version is prettier granted, but rather than an extra bit of information, it's a completely new format.
Out of interest, that article goes out of its way to argue that the whole BEM format is changed to CamelCase, so that the atomic modifier can use "-".
Why wouldn't you just use the existing BEM component separator "__", and then nothing else need change.
The CamelCase version is prettier granted, but rather than an extra bit of information, it's a completely new format.