Events `destroy` and `beforeRemove` won't work the same. ```js events: { destroy: function(){ console.log("removing product"); this.viewModel } } ``` This is because control wanted to teardown on disconnect, but component needs to do this on removed.
Events
destroyandbeforeRemovewon't work the same.This is because control wanted to teardown on disconnect, but component needs to do this on removed.