Issues using custom emotion instance in webextension breaking underlying page that also uses emotion #2267
Unanswered
samuelmburu
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Is the underlying page using Emotion 10 or 11? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
HI, I am working on a browser extension, but adding the
emotion
import in my content scripts on a page that also uses emotion as their JSS solution renders their page unusable. I presume the issue has to deal with colliding emotion caches. I implemented the code from the createCache documentation a, but the issue is still present. Any help will be super helpful 🤞.My code is as follows:
I've been banging my head over this for a while and wonder what I'm doing wrong or if I didn't get 👀 the docs closely enough.
I really appreciate any help you can provide.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions