in React JS by

Explain DOM diffing?

▼ Show 1 Answer

0 votes

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.

React JS
Learn More with Madanswer

Related questions

0 votes
asked Feb 24 in React JS by SakshiSharma
  • #custom-dom
  • reactjs-dom
  • react-dom
  • dom-v16
  • react-v16
0 votes
asked Dec 8, 2020 in React JS by SakshiSharma