Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid overloading web standard slots? #204

Open
mayank99 opened this issue Mar 17, 2024 · 0 comments
Open

Avoid overloading web standard slots? #204

mayank99 opened this issue Mar 17, 2024 · 0 comments

Comments

@mayank99
Copy link

mayank99 commented Mar 17, 2024

Now that declarative shadow DOM is available cross browser, it might be a good idea to respect <slot>/slot= inside WebC templates.

Web's own slots could be renamed to something like <webc:slot>/webc:slot=.

Similarly, WebC could avoid doing special handling of <template> by default. I've encountered very strange issues when creating WebC wrappers over <template shadowrootmode="open">.

See also: #185

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

No branches or pull requests

1 participant