Vue: Virtual DOM Support

Created on 18 Apr 2015  路  4Comments  路  Source: vuejs/vue

Two way binding is useful in very small usecases. Decoupling DOM management layer will enable pluggable DOM management backends.

How difficult will be support add v-dom support ?

Most helpful comment

@huangyingjie Vue 2.0 has a virtual DOM now, and server-side rendering.

All 4 comments

Vue uses dom-based templating, and Vue directives allow direct access to DOM nodes. This gives the user more flexibility to work with the DOM, but also couples the implementation with a real DOM. Using a v-dom would break almost all existing code and that's not a direction I'm interested in going, at least for this project.

FWIW React is not even stable, it's always breaking API and doesn't feel yet like a natural way of developing webapps like Vue.js. I believe the Ember 2 vdom implementation will be much better, but still only time will tell if it is the way to go

v-dom is useful in isomorphic app, maybe it's not Vue' goal.

@huangyingjie Vue 2.0 has a virtual DOM now, and server-side rendering.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

robertleeplummerjr picture robertleeplummerjr  路  3Comments

franciscolourenco picture franciscolourenco  路  3Comments

paceband picture paceband  路  3Comments

6pm picture 6pm  路  3Comments

bfis picture bfis  路  3Comments