You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The linked docs are correct - that's because css from @emotion/core and css from emotion are 2 different functions with slightly different behaviors. The one from emotion returns a usable class name string while the one from @emotion/core returns an opaque object describing the class name.
RFC has just been opened #1635 with some proposed name changes, I'm going to close this issue, but we are very keen to hear what you think of the proposed changes.
I dig emotion once it's all setup, but I'm straight up confused by the packages. I have three projects using emotion 9, via the
emotion-react
package.I'm trying to upgrade them to the latest emotion and have no fetching idea which package(s) to use now.
This is a mess y'all. I use
css
,injectGlobal
,cx
, and sometimesstyled.div
. Gotta admit I'm lost with where everything went now and how to upgrade.The text was updated successfully, but these errors were encountered: