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

Multiple root nodes in components #14

Open
BjornDCode opened this issue Jul 1, 2023 · 0 comments
Open

Multiple root nodes in components #14

BjornDCode opened this issue Jul 1, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@BjornDCode
Copy link
Contributor

Currently components can only have 1 root node. The reason for this limitation is so that we can properly apply attributes passed into the component by applying them to the root node.

But it should be possible for a component to have multiple root nodes. If a component has 2 root nodes the developer explicitly has to define where attributes should be applied by using the $attributes variable

@BjornDCode BjornDCode added the enhancement New feature or request label Jul 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant