DEV Community

Discussion on: CSS-in-JS: What happened to readability?

Collapse
jfbrennan profile image
Jordan Brennan • Edited on

CSS-in-JS was never readable and it was never going to be because React is mixing two very different languages together (plus JSX smh). This is one of the many things I think Vue, Riot, Svelte got right. They just leverage <style></style> and the whole CSS-in-JS thing goes away. Too easy, mate!