r/reactjs • • Sep 05 '18

Tutorial Announcing styled-components v4: Better, Faster, Stronger

https://medium.com/styled-components/announcing-styled-components-v4-better-faster-stronger-3fe1aba1a112
203 Upvotes

80 comments sorted by

View all comments

Show parent comment

3

u/reyronald Sep 05 '18

The plug-in is optional and is actually a point in favor of emotion, not the other way around. These sort of plugins allow the CSS to be computed at compile time instead of runtime, resulting in a faster and more performant app.

In fact I'm surprised that SC hasn't done this. It's a huge miss