Please, Please Don’t Use “CSS in JS”
medium.com
medium.com
This is absolutely ludicrous. CSS is weird, complicated, and insanely unreliable. Sometimes it's hard to figure out how things will work when just reading the standards, and then browsers all have incomplete or buggy implementations of the standards.
I'm not saying CSS in JS is the answer, but CSS is broken enough that we're already using tons of not-CSS solutions to write it.
> vendor lock-in built-in
I don't understand how using an open-source library is getting locked into a vendor. You could have made the same argument about React, but there are already frameworks that implement the React API. Why would this be any different?