1.3: calling ko.applyBindings() inside ViewModel code

Anti-Pattern

The ViewModels have a ko.applyBindings() call inside it. This means each ViewModel is directly interacting with the View (DOM). It also means every time you construct a ViewModel, it will re-bind, potentially resulting in errors or collisions. You will also want HTML in your ViewModel unit tests.

name:

age: