• Home
  • Recent Q&A
  • Java
  • Cloud
  • JavaScript
  • Python
  • SQL
  • PHP
  • HTML
  • C++
  • Data Science
  • DBMS
  • Devops
  • Hadoop
  • Machine Learning
in React JS by

Explain DOM diffing?

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.

Related questions

0 votes
asked Feb 24, 2021 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
0 votes
0 votes
asked Dec 14, 2019 in React JS by AdilsonLima