by devmach · 14y ago · 0 comments
* Some important gotchas with backbone isn't documented ( or somehow i missed ), one example :
from document :
...
remove view.remove() Convenience function for removing the view from the DOM. Equivalent to calling $(view.el).remove();
...
in views, $(this.el).remove(); removes event bindings and if you call render() of this view again you should call also .delegateEvents(); somewhere in your code.
No comments yet.