DEV Community

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

jrop profile image
Jonathan Apodaca

The one exception to this, that I find great pleasure in using, is the approach used by Next.JS: styled-jsx. It is basically scoped style tags in the context of React components. It supports everything that you would expect from CSS as well: media queries, etc.