I think mapping dom to virtual dom is not a good idea. But if you know what you're doing, then go ahead. You can scan the virtual dom from the root directory and check where each vnode is installed to find the virtual node you are interested in.
There is some information about virtual dom scanning. The author of this article matched component types, but you can match vnode.el.
I think mapping dom to virtual dom is not a good idea. But if you know what you're doing, then go ahead. You can scan the virtual dom from the root directory and check where each vnode is installed to find the virtual node you are interested in.
There is some information about virtual dom scanning. The author of this article matched component types, but you can match
vnode.el
.