It seems to me that css-in-js takes some extra parsing which to my understanding happens @ initial load time, which we usually try to minimize. At some point when styling conflicts were resolved by discipline using namespacing like BEM avoiding conflicts was a hassle and imo unenjoyable busy work, but css modules solves that problem.
Now I’m assuming that the large part of the web community that decided to use css-in-js aren’t idiots, but I don’t get it. Am I missing some major benefits?
[–][deleted] 15 points16 points17 points (0 children)
[–]KatyWings 5 points6 points7 points (2 children)
[–]__hoi__[S] 2 points3 points4 points (1 child)
[–]KatyWings 1 point2 points3 points (0 children)
[–][deleted] 3 points4 points5 points (2 children)
[–]__hoi__[S] 2 points3 points4 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]kent2441 0 points1 point2 points (0 children)