Supports automatic unsubscribe from DOM events?
neezer opened this issue · comments
Evan Sherwood commented
arrow-js.com reads:
You can bind an event listener to a DOM element by using the @eventName short hand. This automatically performs a document.addEventListener('eventName') and registers your expression as the event handler.
When that element is removed from the DOM, are all references cleaned up so that the event listeners are GCed properly?