2
dodomo
6y

Calling out to all frontend devs:
What's your opinion on CSS in JS (e.g. styled-components)?

I really like the encapsulation and the ease of use but I don't like how it makes debugging more difficult.

Comments
  • 0
    Same thing. I appreciate the discretization and modularization of web components. But for some reason I don't like my style being in the component level. Document level styling is abstracted from all the other coding constructs and is cleaner to debug and analyse.

    Which is why I love Android studio for having style data in an XML that can be configured individually .. 😀
Add Comment