3 ms·
Globals are hard to name, so we use things like BEM [0] as a good naming convention to mitigate human error. CSS-in-JS is nothing more than an automatic BEM. I
by prezjordan 10y ago
Globals are hard to name, so we use things like BEM [0] as a good naming convention to mitigate human error. CSS-in-JS is nothing more than an automatic BEM. I wrote down some thoughts on this today [1].
[0]: http://getbem.com/ http://getbem.com/
[1]: https://medium.com/@jdan/css-is-fine-its-just-really-hard-638da7a3dce0 https://medium.com/@jdan/css-is-fine-its-just-really-hard-63...