in React JS by

How React works? 

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.

Related questions

0 votes
0 votes
asked Jul 2, 2019 in React JS by Venkatshastri
0 votes
0 votes
asked May 21, 2020 in React JS by GeorgeBell
0 votes
asked May 20, 2020 in React JS by GeorgeBell
...