How to contribute
This is a significant update compared to 0.8. Lots of changes have been made to ensure a stable and consistent API. High level changes are AMD support, batch rendering, and API reshaping.
view.render()now returns the View, change to
render().promise()to get a promise.
htmlon a parent view now affects how it inserts or sets child views. In 0.8, this override would be defined on the child itself. If you are overriding
htmlon a child view, move it to the parent view. For clarity:
insertis overridden, it will be called when subViews are inserted within that View (via
htmlis overridden, it will be called:
We will continue to upgrade and make changes along side the edge version of Backbone. There is a very large structural change that is coming soon (removal of
View#options). We are working on refactoring LayoutManager to work with this change.