Nov 26, 2019 in React JS
Q:

Explain DOM diffing?

1 Answer

0 votes
Nov 26, 2019

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
Feb 24 in React JS
  • #custom-dom
  • reactjs-dom
  • react-dom
  • dom-v16
  • react-v16
0 votes
Dec 8, 2020 in React JS
0 votes
0 votes
Dec 14, 2019 in React JS
...