r/Frontend • • Mar 07 '19

Why I Write CSS in JavaScript

https://mxstbr.com/thoughts/css-in-js/
5 Upvotes

19 comments sorted by

View all comments

1

u/kowdermesiter Mar 07 '19

What's the killer feature that SASS doesn't have?

1

u/fennekinyx Mar 07 '19

I’ve only just started using styled components myself to see what the fuss is all about, but automatic multi browser prefixes is pretty nice.

1

u/kowdermesiter Mar 08 '19

That's a solved problem for years now with projects like autoprefixer.