Closed andyrj closed 6 years ago
Bump! I'd love to see this merged and released soon!
@developit Is there any chance this will be merged? I'd prefer to avoid publishing a fork to npm just for these return statements. :disappointed:
Sorry about the super slow response! I'm merging.
Thanks @developit !! 🎉
@developit Thank you!
To match actual dom api these calls need to return the nodes added or removed.
https://developer.mozilla.org/en-US/docs/Web/API/Node/insertBefore https://developer.mozilla.org/en-US/docs/Web/API/Node/removeChild https://developer.mozilla.org/en-US/docs/Web/API/Node/appendChild https://developer.mozilla.org/en-US/docs/Web/API/Node/replaceChild
Was there a reason for leaving off these returns? Ran into this using undom with hyperapp.