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

How does emotion cache styles?

May 21, 2019 at 3:06pm

How does emotion cache styles?

May 21, 2019 at 3:06pm
The title.
How does emotion know not to create a new class when React calls render when the CSS hasn't changed?

July 20, 2019 at 6:42am
Could it be css string hashing?
  • reply
  • like
I'm inclined to think it is based on the class names generated
  • reply
  • like