How does React work? Technology Community › Category: React › How does React work? 0 Vote Up Vote Down VietMX Staff asked 4 years ago 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.