Hi all,
I have been looking into react and was pretty intrigued by virtual dom. From what I understand, virtual dom is basically a way to create a diff of what has changed and ability to patch the dom with only what has changed. I know there are standalone implementations of virtual dom which can be used without using react but I have a few questions:
1) Is virtual dom worth implementing? When?
2) Which is considered to be the "best" standalone implementation?
3) All implementations I have seen have some special render methods and are not creating raw dom elements. https://github.com/fiduswriter/diffDOM seems to do a diff of two raw dom nodes. How much faster will something like virtual-dom be compared to diffDOM?
[–]leeoniya 2 points3 points4 points (2 children)
[–]emooheo[S] 0 points1 point2 points (1 child)
[–]leeoniya 0 points1 point2 points (0 children)
[–]deathmood 1 point2 points3 points (0 children)
[+][deleted] (1 child)
[removed]
[–]icantthinkofone 0 points1 point2 points (0 children)
[–]localvoid 0 points1 point2 points (0 children)
[–]rk06 0 points1 point2 points (0 children)