in React JS by
Q:

How React works? 

▼ Show 1 Answer

0 votes
by

React creates a virtual DOM. When state changes in a component it firstly runs a “diffing” algorithm, which identifies what has changed in the virtual DOM. The second step is reconciliation, where it updates the DOM with the results of diff.

React JS
Learn More with Madanswer

Related questions

0 votes
0 votes
asked Jul 2, 2019 in React JS by Venkatshastri
0 votes
...