2 ms·
You have to go back a bit and see why the fuss over rendering performance even exists: https://johnresig.com/blog/the-dom-is-a-mess/ https://johnresig.com/blog
by runawaybottle 7y ago
You have to go back a bit and see why the fuss over rendering performance even exists:
https://johnresig.com/blog/the-dom-is-a-mess/ https://johnresig.com/blog/the-dom-is-a-mess/
If the vdom can do the diff and sync all the changes to one DOM update, you only trigger one re-layout. That’s one of the main reasons to have the vdom, to offset shitty DOM performance by using app memory. The browser really sucked/sucks.
I urge everyone to keep track of the history of JS frameworks, and why we even gravitate towards these frameworks.