r/Frontend • • Mar 07 '19

Why I Write CSS in JavaScript

https://mxstbr.com/thoughts/css-in-js/
5 Upvotes

19 comments sorted by

View all comments

17

u/Rhym Mar 07 '19

I see the benefits of using css in js, but after using BEM for years I don't have the issues that people usually run into and don't see myself changing for a while.

6

u/SecretAgentZeroNine Mar 07 '19

BEM and SMACSS really does solve a lot of problems. The only problem it can't solve is engineers over engineering a solution that BEM | SMACSS solves. I think this problem exists because not enough developers know BEM or SMACSS.

1

u/Rhym Mar 07 '19

That and everyone likes to have their own flavor on the methodology, for good or for bad.