Subscribe on changes!

a spelling mistake

avatar
Aug 29th 2022

Vue version

3.2.37

Link to minimal reproduction

https://github.com/vuejs/core/blob/main/packages/runtime-core/src/vnode.ts#L104

Steps to reproduce

I am ready to invoke the createVNode and define a hook with onVnodeUnmounted, but my ide note me that "onVnodeUnmounted" is a spelling mistake, it is should be spell with "onVNodeUnmounted"

What is expected?

onVnodeUnmounted => onVNodeUnmounted

What is actually happening?

image

System Info

No response

Any additional comments?

No response

avatar
Aug 29th 2022

...but that's what the hook is called, out of necessity of the naming scheme for event props.