After ajax renders the data, how to make the data change only when there is a change, and the rest remain unchanged.

there are two interfaces in the background, one of which renders a page of list data with a template engine; then the second interface returns the changed data, and the unchanged interface does not return. How to update the changed data on the page in real time? There is no problem with the timer. Now is how to change the changed data instead of updating all the data, and the second interface returns only part of the data (changed data) of the first interface.


browsers are not that stupid. One by one for you to update. Your batch replacement is better than one change. More efficient. Just take a test yourself.

if you don't understand. You can use some data binding frameworks.

Menu