How to add DOM Events Listeners … simply having the ability to remove them later on and, as simple as it sounds, you won’t believe how many developers are still doing it wrong! All you can Anti-Pattern! Unless all you do is trashing the entire DOM every time you update it, these are all things
Full article