Skip to content

@emotion/[email protected] CacheProvider issue #218

Answered by garronej
simplecommerce asked this question in Q&A
Discussion options

You must be logged in to vote

Thank you for the detailed reproduction, @simplecommerce.

I can confirm that this is indeed a bug.

Although I can't resolve it directly on my end, I'll take the necessary steps to ensure the issue is addressed upstream.

For context, this is related to the infamous dual package issue, which occurs when bundlers incorrectly determine which distribution of a module should be loaded.

Previously, a PR on Vite was required to fix a similar occurence of the same issue: vitejs/vite#13370

Since it may take some time for the issue to be fully resolved, I recommend using Emotion 11.12 as a workaround in the meantime.

Replies: 6 comments 18 replies

Comment options

You must be logged in to vote
9 replies
@simplecommerce
Comment options

@simplecommerce
Comment options

@garronej
Comment options

@garronej
Comment options

@simplecommerce
Comment options

Comment options

You must be logged in to vote
2 replies
@garronej
Comment options

@simplecommerce
Comment options

Answer selected by simplecommerce
Comment options

You must be logged in to vote
1 reply
@simplecommerce
Comment options

Comment options

You must be logged in to vote
6 replies
@simplecommerce
Comment options

@garronej
Comment options

@simplecommerce
Comment options

@garronej
Comment options

@simplecommerce
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants