© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
j
stuff ;)
The virtual DOM is an observer concept yes :) and reactive systems use them. Check this out:
the first entry is the author of the virtual-dom :)
TheSheriff
Co-Founder, Founder, Entrepreneur & Problem Solver
Can a vDOM just be as simple as a JSON of the whole DOM tree? Something like this:
[{ "tagName": "HTML", "children": [{ "tagName": "HEAD", "children": [ {"tagName":"TITLE"}, {"tagName":"STYLE"}, {"tagName":"SCRIPT"} ] }]}]
in theory. yes :) But I didn't write it so I would look up the implementation :) it shouldn't be that complicated :)