0 votes
in ReactJS by

Explain DOM diffing?

1 Answer

0 votes
by

When the components are rendered twice, Virtual Dom begins checking the modifications elements have got. They represent the changed element on the page simply. There are several other elements that don’t go through changes. To cut down the changes to the DOM as an outcome of user activities, DOM doffing is considered. It is generally done to boost the performance of the browser. This is the reason for its ability to perform all the tasks quickly.

Related questions

0 votes
asked Dec 14, 2023 in ReactJS by rahuljain1
0 votes
asked Feb 14, 2023 in ReactJS by Robindeniel
...