Hacker News .hnnew | past | comments | ask | show | jobs | submitlogin

CSS-in-JS (like how Styled Components and Emotion do it) is primarily a solution to code organization. It doesn't fundamentally change how CSS works.



It can be, depending on how it's used. But most of the modern tools I've seen are specifically designed to compile away the dynamic aspects of CSS-in-JS, meaning it essentially becomes a different way of writing normal CSS.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: