Replies: 1 comment
-
I was thinking about it in an early stage, but it seemed inconsistent and implicit, to sometimes create the tag, and sometimes not, depending on the view content. It could be an unexpected behaviour to add such default tag behind the scenes. Also choosing such tag wouldn't be obvious. In some cases |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Should we introduce an auto-generated root component tag like to make coding more relaxed, in order to avoid errors when no root tag is set by the developer?
InvalidOperationException: The wire component must have only one root element.
will be thrown in the following cases:Example A:
Example B, error:
Would You agree Hydro framework should auto-generate its root tag for components to avoid this error?
Beta Was this translation helpful? Give feedback.
All reactions