To understand why to use Million.js, we need to understand how React updates interfaces. When an application's state or props change, React undergoes an update in two parts: rendering and reconciliation.
In this App, when I click on the button, the count state will update and the <p> tag will update to reflect the new value. Let's break this down.
ALT Basic counter app