3 ms·
Compared to JavaScript. React has to always compare everything to the virtual DOM.
by roschdal 4y ago
Compared to JavaScript. React has to always compare everything to the virtual DOM.
- verdverm 4y agois doing large edits to the actual DOM faster? the point of the shadow / virtual DOM is to accumulate changes and send those to the browser rendering process in batches, so that it thrashes less, thereby being faster, typically.