Closed downeyfe closed 5 years ago
cc/ @goto-bus-stop I suspect this might have been the change landed in https://github.com/choojs/hyperx/pull/74
yikes seems likely. will have a look!
(you can do npm install hyperx@2.5.2
to use the previous version in the mean time.)
previously this actually generated a DOM like
<div>
</div>
with a bunch of whitespace inside the tag, which also seems wrong. for now i'll revert 2.5.3 though, this needs a different approach
Fixed by reverting in 2.5.4. Closing for now, thanks.
As of a few hours ago I've been getting an error (
TypeError: Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node'.
) when using self-closing tags. I think it had something to do with the last release (2.5.3).Full trace:
Sample code (using Nanohtml):