DEV Community

Discussion on: How to Use Sass and Styled Components in a React JS Application

Collapse
 
iskin profile image
Andrey Sitnik

What do you think about next generation of zero-runtime CSS-in-JS, where you do not need to put CSS parser to client-side JS bundle?

Like Astroturf and Linaria?

They allow you to keep CSS in JS files, but allow to use Sass/Autoprefixer and generate the same static CSS file.

Collapse
 
iam_timsmith profile image
Tim Smith

I haven’t ever heard of these. I’ll have to check them out for sure! Thanks for the links!