dsuryd / dotNetify

Simple, lightweight, yet powerful way to build real-time web apps.
https://dotnetify.net
Other
1.17k stars 164 forks source link

284 update list optimization #285

Closed BajakiGabesz closed 3 years ago

BajakiGabesz commented 3 years ago

It's a kind of improvement for the list updating mechanism. Earlier when we wanted to update a list item, the whole object was updated. When we had a model with multiple properties which were bound to the UI, any change in a list element invoked the PropertyChanged event even if it was not necessary. With reflection, it's more efficient to do and causes less update on the device's screen which also causes better performance.