Open srmagura opened 2 years ago
@Andarist Do you think having such an example would be useful?
Yeah, I think this could be a good addition to the docs. Emotion is surprisingly popular among shadow DOM users.
I just wanted to voice my support for this and thank you for the example code!
Someone in Slack asked about shadow DOM so I created a working example of it here. The key is to make the cache insert
<style>
tags into the shadow DOM instead of the document's<head>
.Is this a common enough thing that's it worth adding to our documentation?