Using jss.setup with a shadowRoot #176
Unanswered
AntonOfTheWoods
asked this question in
Q&A
Replies: 2 comments 2 replies
-
Where you able to resolve this? Any suggestions on how to get |
Beta Was this translation helpful? Give feedback.
0 replies
-
If you you can put together an example that works with emotion I should be able to help. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to migrate some content scripts that use
tss-react
into ashadowRoot
in a chrome extension to avoid style contamination. I looked at the docs but nothing seems to address this directly. I am also using MUI and have bothmakeStyles
andjss.createStyleSheet
, which I am using with someinferno
code (some situations have 10s of thousands of nodes).The setup is a little complex but seems to work pretty well (very quick on 10s of thousands of nodes) - I was getting some CSS contamination on certain host pages (of the extension) so am looking to properly separate. My original investigation suggested
insertionPoint
on myshadowRoot
object might be the way to go but it didn't seem to work. Should it?Is this possible? Are there any examples anywhere?
Beta Was this translation helpful? Give feedback.
All reactions