Re:Million: less than 1kb virtual DOM that is fast
by onion2k on Sunday July 31, 2022 @03:30AM
(#32293923)
VDOM is an outdated 2012 concept when running in a 2022 browser though.
Is every user running a 2022 browser?
Re:Million: less than 1kb virtual DOM that is fast
by mhoad on Sunday July 31, 2022 @03:52AM
(#32294024)
I mean generally, yes? Evergreen browsers have been the standard for many years now in all major browsers.
The worst offender I guess is Safari which has historically tied updates to a few times a year rather than much shorter cycles used in Edge, Firefox and Chrome.
Whatever delays there may be in those update cycles I’m confident that you shouldn’t need to be catering to 2012 browsers. VDOM just isn’t necessary as a performance hack and hasn’t been for many years at this point.
Re:Million: less than 1kb virtual DOM that is fast
by dodyg on Sunday July 31, 2022 @03:38AM
(#32293955)
Vue still uses VDOM https://vuejs.org/guide/extras/rendering-mechanism.html#rend...
Completely unnecessary and just doubles the data structures and fights against the browser itself.
None of the fastest modern frameworks use it as far as I know (solid, lit, fast, svelte and stencil)