React uses virtual DOM which improves the performance.DOM is an object which is created by the browser each time a web page is loaded. Repeated
creation of DOM makes unnecessary memory wastage and reduces the performance of the application. Instead of updating DOM directly, React resolves changes on a DOM built and run entirely in memory. After the virtual DOM has been updated, React determines what changes made to the actual browser’s DOM. In this tutorial, we are going to explain react by examples.