I kind of dislike CSS in JS, and used to consider it a downside of using Lit or other frameworks that involve it, but I'm not sure. I might've come to see the advantage of having the styles that apply to a component be in the same file. (Though, somewhat unrelated, I really want a way to apply global styles that penetrate shadow DOM.)
We're a place where coders share, stay up-to-date and grow their careers.
I kind of dislike CSS in JS, and used to consider it a downside of using Lit or other frameworks that involve it, but I'm not sure. I might've come to see the advantage of having the styles that apply to a component be in the same file. (Though, somewhat unrelated, I really want a way to apply global styles that penetrate shadow DOM.)