You can use the callback to get a reference like react at vue2.x
You can use the callback to get a reference like react at vue2.x
You can use the callback to get a reference like react.
$ npm install vue-ref --saveimport ref from 'vue-ref'
Vue.use(ref)
this.dom = c">hello
this.child = c">
{...}">{{ n }} | Property | Description | Type |
|---|---|---|
| v-ref | a callback function | function(dom | vnode, key) |
In this callback function, you should not change any reactive data. Otherwise the render will enter an infinite loop.
No open issues yet, or sync has not completed.