Is there any difference in performance when binding to simple fields (e.g. [(ngModel)]="room"
) in comparison to binding to properties of objects? (e.g. [(ngModel)]="lesson.room"
) If yes, why is that?
Concerning getters: Am I correct in my understanding that binding to getters/setters and e.g. one-way binding to functions is bad, because the function will be called every single detection cycle, without Angular being able to differentiate between situations where there was no change and situations where a change actually happened and an update of the view is in fact necessary? This should make getters the least performant option in this regard.