menu

emotion

Emotion is a css-in-js library focused on performance and developer experience

Channels
# All channels
view-forward
# General
view-forward
# Development
view-forward
# Help
view-forward
# Off Topic
view-forward
Team

Are they are performance disadvantages to using css as opposed to using styled

May 29, 2019 at 3:38am

Are they are performance disadvantages to using css as opposed to using styled

May 29, 2019 at 3:38am
If you using emotion/styled over emotion/core are there any disadvantages regarding performance?

June 15, 2019 at 7:04pm
A styled component will produce an element and will use the css function to style it. So, I think, while the styled component requires more adds another step, it is insignificant in terms of performance.
  • reply
  • like