for example, my initial data is
initdata:{
name: 1;
name: 2;
name: 3;
name: 4;
name: 5;
}
After , the new data is
newdata:{
name: 1;
name: 2;
name: 3;
name: 4;
name: 5;
name: 6;
name: 7;
name: 8;
name: 9;
name: 10;
}
so, when I setData (newdata), does Mini Program automatically compare data, twice and then update only the next 5 new pieces of data, or directly replace initdata? with newdata?