How to update a view without re-rendering in marionette.js

How to update the view with model.fetch(), that is, when I pick up the model, the view should not be destroyed or re-rendered. It should simply update the new model to the presentation of the previous model.

this.model.fetch({success: this.render.bind(this)});

This code redraws my view. How can I just update the view with the new model.

Thank.

+4
source share
2 answers

There are several ways to update the presentation based on your needs.

+2

, , , . , , .

, , - subviews. , , , .

, , , . . , , , , , , .

, , , , . , , .

+1

All Articles