Why to use MVVM Pattern?

The MVVM pattern provides the following benefits:

  • It helps to have a better Separation of concerns. It allows to replace the View with a new one without changing the ViewModel.
  • It allows to easily unit test View's logic as now it is in a normal class (the ViewModel).
  • It allows graphics designers to work in the View without touching any logic.