removeeventlistener for addeventlistener and render2 listen

0 votes
Hi guys,

does anyone know is it necessary to remove listener for addeventlistener and render2.listen in Angular? I've always thought that after you leave a specific route, it's component is destroyed and the listeners are removed. Or this is not the case? Maybe they are only removed when they are attached to an element of the component and in case they are attached to global objects like document and window they are not removed?
Jul 31, 2022 in Others by andrew

edited Mar 4 24 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP