3 ms·
Seconded, when you have a large codebase, BEM selectors end up taking a considerable amount of kB on your final bundles. Moving to CSS modules and running a cs
by fgkramer 6y ago
Seconded, when you have a large codebase, BEM selectors end up taking a considerable amount of kB on your final bundles.
Moving to CSS modules and running a css class minifier and deduplicator is the best thing you can do if you work in a project where performance is critical.
Anecdotical, but the best improvement I've achieved doing this is shaving off ~30% of our final bundles, gzipped!)