Do I need to delete event listeners in 2016?

This question was asked and answered in 2011 . However, the web scene has changed significantly, and now IE6 and IE7 are out, IE8-10 is hardly ( less than 1% each ) and only IE11 still exists.

So, in 2016, do you need to manually remove event listeners to avoid memory leaks? For an answer, please consider only IE11 . I ask because I created a small library as an alternative to jQuery and would like to know if I need to delete them manually first. Of course, the question is using javascript, but not jQuery.

+7
source share
1 answer

No

See these answers:

Also:

  • This article claims that a memory leak in the DOM + JS reference loop has been fixed in IE8.

Change . The link to the article has disappeared. Here is a snapshot of the reverse gear.

+5
source

All Articles