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

Why using a slot? #36

Open
lekoala opened this issue Aug 18, 2022 · 0 comments
Open

Why using a slot? #36

lekoala opened this issue Aug 18, 2022 · 0 comments

Comments

@lekoala
Copy link

lekoala commented Aug 18, 2022

Hi there,

I've been looking at your library and I'm wondering what is the purpose of using a single slot within the shadow dom? Since basically everything that is injected in the slot is rendered with the light dom anyway, wouldn't it be simpler to not use the shadow dom at all?
I'm really curious to understand this so if you could explain me the reasoning, that would help me to understand this design decision.

Thanks for your time :)

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