Open bvaughn opened 7 years ago
Is this still relevant? I would be happy to start this off @bvaughn
This issue is all yours! 😄
I've added an "in-progress" label so that others will know not to start work on the issue. If you change your mind about the issue, no worries! Just let me know so that I can remove the label and free it up for someone else to claim.
Cheers!
Hey there, original reporter here. The problem with react and web components is
This issue was originally reported by @LukasBombach via facebook/react/issues/10155
Text of original issue:
your documentation on creating web components with react is quite cool and works really nice for the html. However, any component created this way will be unstyled as the documentation does not cover how to add CSS to the web component. Using
create-react-app
all your CSS will end up in a main.hash.css file and have selectors for your components, but when you create a web component, you css must be encapsulated in the component as the the components DOM lives in the shadow root and is not stylable from outside.It would be cool if you could show a way to account for this.