DEV Community

loading...

Discussion on: CSS in JS - have we done something wrong?

Collapse
yujiri8 profile image
Ryan Westlund

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.)