by Aleman360 · 11y ago · 0 comments
Err, that's not entirely true for MVVM apps, where views are just declarative markup that are rendered (retained mode) based on logical state provided by data bindings. It's been like that ever since XAML was introduced in 2006.
http://www.dustingetz.com/2013/09/12/comparison-knockout-ang...
There's nothing stopping you from making immutable ViewModels in MVVM, other than bad perf (which React would presumably also suffer from on larger apps).
Most applications don't have the latter problem.
XAML control properties do the equivalent of shouldComponentUpdate by default. Same ideas, just doing diffs in different places.