Closed AutoSponge closed 6 years ago
Not sure if this is a bug or known issue.
When using self-closing custom tags, only the first one renders. For example, using the codepen, change the innerHTML line to this:
innerHTML
document.body.innerHTML = '<my-component name="First"/><my-component name="Third"/>';
I would expect to see "Hello, First Hello, Third Hello, Second" but instead only see "First" and "Second".
that's how HTML works. hyperHTML is based on standards, not JSX
hyperHTML
Not sure if this is a bug or known issue.
When using self-closing custom tags, only the first one renders. For example, using the codepen, change the
innerHTML
line to this:I would expect to see "Hello, First Hello, Third Hello, Second" but instead only see "First" and "Second".