Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
V

vue-ref

> 编程语言
Open source

You can use the callback to get a reference like react at vue2.x

100 stars0 likes3 views
WebsiteGitHub

About

You can use the callback to get a reference like react at vue2.x

vue-ref

You can use the callback to get a reference like react.

bash
$ npm install vue-ref --save
javascript
import ref from 'vue-ref'
Vue.use(ref)
xml

 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.

Issues· 4 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

JavaScript

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言