3 ms·
The render method is the right place to hook things up with the DOM. Although I trust the garbage collection is up to par when it comes to forgotten DOM element
by some1else 14y ago
The render method is the right place to hook things up with the DOM. Although I trust the garbage collection is up to par when it comes to forgotten DOM elements, I've recently started implementing destroy methods on views that deal with more complex jQuery plugins. Some plug-ins implement destroy methods themselves, but in some places I just unbind the few events manually.