I am wondering if there is any way to get the changed models when passing the add: true to fetch. It renders all the new models in the collection but I’d like to also know if there is any models that changed.
Is this possible?
I also considered the possibility of passing a different function as the success handler to fetch, a function that will re-render only certain portions of the view and not the entire view.
The usual pattern is to have a view that renders your models. You then:
addevent in order to append the views of the added models.changeto re-render.If you still want to have only one view, you:
– subscribe to the collection’s
addevent in order to append to the view.– subscribe to the collection’s
changeevent and update parts of the view.