You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
variableThe text was updated successfully, but these errors were encountered: