Using a React component using Emotion from an NPM Module breaks Gatsby SSR #2755
Answered
by
Andarist
openscript
asked this question in
Q&A
-
Sorry for double posting, but I'm a bit desperate about this: gatsbyjs/gatsby#35698 As described in the post, I'm trying to use an React component inside a Gatsby project. This React component uses Emotion. Somehow the components doesn't see the Cache context and throws:
Any idea what I'm doing wrong? Thank you in advance! |
Beta Was this translation helpful? Give feedback.
Answered by
Andarist
May 19, 2022
Replies: 1 comment 10 replies
-
Most likely you have multiple copies of Emotion there |
Beta Was this translation helpful? Give feedback.
10 replies
Answer selected by
openscript
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Most likely you have multiple copies of Emotion there