I have question about memory management during life cycle of Ember Component / View I posted sample code on github. As you can see I’m using observerable and default click event hook. My question is how ember heandle memory management of those things during component’s life cycle. Will be event listeners tear down automaticly when view is destroyed? I know that there are hooks didInsertElement and willDestroyElement which I can use to manage this manualy. Is there any better way to work with observes and events in view/component or is this code fine.
Gist is here: https://gist.github.com/turboMaCk/26a4fd9fb14e0538e698