Looks like this version makes what I believe to be Knockout's biggest strength (the data binding) that much stronger.
Looks like this version makes what I believe to be Knockout's biggest strength (the data binding) that much stronger.
Knockout got attention, but there are so many frameworks that it is not so easy to see the big advantage of one.
The main difference seems to be that in Knockout has 'observables' that are part of your view model, whereas with Ractive you interact with your view model via Ractive's functions.
My complaint (probably more relevant to hardwaresofton) is that I like my MVVM to have a type resolution system, ok in javascript this is hard, but if I've got one ViewModel for the NavBar, it would be nice to be able to better state the one for the MainContentArea. ko.ApplyBinding(vm, someJQuery) just doesn't strike me as elegant!
That said, I liked knockout when looked at it, I just looked at Angular shortly after and fell in love. Annnd, I haven't looked at the new version, so grain of salt.
We went to that after hell with pages littered with applyBinding calls.
I tend to use Angular, but recently I jumped onto a project and crunched through some work by dropping Knockout into it. The learning curve is small, and I was able to finish off the feature quickly.