Closed moonglum closed 7 years ago
Removing a node from the DOM is quite awkward with the native DOM API. Imagine you want to remove the parent of this from the DOM, you have to write:
this
this.parentNode.parentNode.removeChild(this.parentNode)
This is hard to parse. Instead I want to be able to write:
removeChild(this.parentNode)
I think this fits the philosophy of this project 😄
:+1: Thank you!
Removing a node from the DOM is quite awkward with the native DOM API. Imagine you want to remove the parent of
this
from the DOM, you have to write:This is hard to parse. Instead I want to be able to write:
I think this fits the philosophy of this project 😄