What is the best practice/correct way to remove an event on an element and element itself in frameworks like react, vue, etc...? Take react as an example, i