While digging though open issues in Aurelia repos I’ve stumbled upon a pull request by @bigopon where I saw this:
and you know what? It is really awesome and I didn’t know about it too.
All those times we assign some variable a function to pass it to .addEventListener()
so we can later remove the listener and free up some memory. That all is a lie!! (-: