React Data Flow — Understanding State and Props

What is the VirtualDOM

One of the key innovations in the React library is the idea of a virtualDOM. Whenever triggered React creates a virtual rebuild of your application and compares it to the real state of your application (the real DOM) and updates only the parts that are different speed up the updates since it isn’t rebuilding parts that haven’t changed. So when…