Skip to content

Make the shadow root optional#99

Merged
jackfranklin merged 1 commit into
reactive-elements:masterfrom
stephencookdev:feature/shadow-root-optional
Feb 14, 2019
Merged

Make the shadow root optional#99
jackfranklin merged 1 commit into
reactive-elements:masterfrom
stephencookdev:feature/shadow-root-optional

Conversation

@stephencookdev

Copy link
Copy Markdown
Contributor

The shadow DOM feature is cool, but it's pretty restrictive as a default

By being in a shadow DOM you cannot access CSS styles added to the document root (which your React project will be extracting to, if you're using something like ExtractTextPlugin)

@jackfranklin
jackfranklin merged commit 2e96673 into reactive-elements:master Feb 14, 2019
@stephencookdev stephencookdev mentioned this pull request Mar 7, 2019
@ChristianMurphy

Copy link
Copy Markdown
Member

Making this configurable is great. 👍

Could we keep shadow DOM as the default and make disabling it optional?
There can be performance issues like #105 and shadow DOM is enabled by default by other framework wrappers like Angular Elements and Vue wc wrapper.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants