Why is DOM manipulation so slow?

Question

Why is DOM manipulation so slow?

Answer

When there is a change to an element in the DOM, the DOM has to re-render the element and all of the element’s children to the DOM - making DOM manipulation very slow in comparison to the Virtual DOM.

1 Like