3 ms·
no, the VDom is a virtualization of the DOM structure in the form {tag, [attributes], [children]} but your application state could be whatever you want, it
by peoplefromibiza 4y ago
no, the VDom is a virtualization of the DOM structure in the form
{tag, [attributes], [children]}
but your application state could be whatever you want, it doesn't need to be in the same shape of the DOM
the only problem VDom really helped with was DOM diffing, but browsers are fast enough nowadays that it's not a big issue anymore.