Sollicitatievraag bij AbuErdan

How does react update the DOM ?

Antwoord op sollicitatievraag

Anoniem

31 mrt 2022

When the state of a component changes, React updates the virtual DOM tree. Once the virtual DOM has been updated, React then compares the current version of the virtual DOM with the previous version of the virtual DOM. This process is called “diffing”