hyperapp
hyperapp copied to clipboard
Use node.remove() instead of parent.removeChild(node)
Hi Jorge,
not sure if you still want to support olden and not-at-all-golden Internet Explorer. If you're ditching it, then we could as well inch ourselves closer to more modern JS.
Here I am suggesting replacing the pattern parent.removeChild(node) with the simpler node.remove(). According to CanIUse it is safe to assume that by now this method is supported by all non-IE-browsers out there.
Benefit: We can shave off a few more bytes.
Regards, Sven