6 ms·
Do you have any mechanism to unbind events on model/collections you've made in views/subviews, or will the bind methodes will live forever. Do you have somethi
by eskimoblood 15y ago
Do you have any mechanism to unbind events on model/collections you've made in views/subviews, or will the bind methodes will live forever.
Do you have something like a global eventbus or how your views comunicate with each other?
- bemaniac 15y agoAh I see what you mean. No, we generally don't unbind events on models/collections, but this is mostly because we don't remove views/subviews from a page that often. We try to cache as much stuff as possible so subsequent clicks between tabs are really fast.