其他分享
首页 > 其他分享> > Vue Comparison with Other Frameworks

Vue Comparison with Other Frameworks

作者:互联网

Comparison with Other Frameworks

Knockout

Knockout was a pioneer in the MVVM and dependency tracking spaces and its reactivity system is very similar to Vue’s. Its browser support is also very impressive considering everything it does, with support back to IE6! Vue on the other hand only supports IE9+.

Over time though, Knockout development has slowed and it’s begun to show its age a little. For example, its component system lacks a full set of lifecycle hooks and although it’s a very common use case, the interface for passing children to a component feels a little clunky compared to Vue’s.

There also seem to be philosophical differences in the API design which if you’re curious, can be demonstrated by how each handles the creation of a simple todo list. It’s definitely somewhat subjective, but many consider Vue’s API to be less complex and better structured.

 

https://gist.github.com/chrisvfritz/9e5f2d6826af00fcbace7be8f6dccb89 

通过对比Vue和Knockout实现一个Todo list,来说明差异

 

标签:API,Comparison,Vue,Knockout,list,very,Other,its
来源: https://www.cnblogs.com/chucklu/p/14789167.html