Subscribe on changes!

Invalid vnode type when creating vnode

avatar
Apr 19th 2021

Version

3.0.11

Reproduction link

https://codesandbox.io/s/nice-shadow-p0pyg?file=/src/components/NavLink.vue

Steps to reproduce

const type = ref(""); Open the console in the lower right corner, and then you can see some warnings. eg: [Vue warn]: Invalid vnode type when creating vnode: .

const type = ref(null); There is no those warning.

What is expected?

const type = ref(""); no those warning.

What is actually happening?

const type = ref(""); [Vue warn]: Invalid vnode type when creating vnode: .