What’s wrong with CSS-in-JS?

Brad Frost thinks it’s:

Lack of portability
Context Switching
Flushing best practices down the toilet

In the spirit of good-ol-fashioned blog-and-response, here’s:

Brain Muenzenmeyer’s response
Micah Godbolt’s response

I’d like to point out that “CSS-in-JS" is an umbrella term, and that there are lots of takes on actual implementations of this. It’s possible to like one approach and not another.
Me, my guess is we’ll end up with a split down the middle as a best practice someday.
When we …
The post What’s wrong with CSS-in-JS? appeared first on CSS-Tricks.

Link: http://bradfrost.com/blog/link/whats-wrong-with-css-in-js/