In Vue, a text VNode has a symbol as an object value. Why is this, and what are some other use cases for doing such a thing?
const vNode = {
__v_isVNode: true,
type: Symbol(v-txt)
}
Blancer.com Tutorials and projects
Freelance Projects, Design and Programming Tutorials
In Vue, a text VNode has a symbol as an object value. Why is this, and what are some other use cases for doing such a thing?
const vNode = {
__v_isVNode: true,
type: Symbol(v-txt)
}