Home > front end >  Presents with the difference between the vue
Presents with the difference between the vue

Time:09-22

presents with vue fundamental difference is what?

Presents the vue fundamental difference lies in the fact that the vue is only the view layer in MVVM, only a library like jquery tools, not be a complete framework, and presents the MVVM framework,



1, vue two-way dependend is implemented based on the ES5 getter/setter, and presents but by their implementation, a set of template compilation rules need to be the so-called "dirty" is checked, the vue is not required, therefore, vue more efficient in performance, but the price is for Internet explorer 9 the following browser cannot support,

2, share more clear instructions and components in the vue, instructions only wrapped DOM manipulation, and component represents a self-sufficient, independent units, have their own views and data logic, both in the presents a lot of mixed,

3, vue need to provide a el object instantiated, all subsequent scope only under the el object, a page, can multiple vue instances, and presents it may not seem like such a play,

4, the API and design on both sides the vue than presents much simpler, so you can quickly grasp all of its features and development,

5, vue is a more flexible and open solution, it allows you to group application, in the form of hope and presents is must follow the rules set by the it at any time, it also can make the vue is suitable for various projects,

6, the instructions is ng - prefix, the presents and the vue is v -, style is the same, is the same as the way of data binding two {}
  • Related