Understanding Basics of react
After reading the documentation of React from their official website and going through a few videos, the most important thing to always keep in mind while creating React projects is how changes will trigger rerendering on the page. For example, when there is a change in state, React doesn't immediately update the actual DOM. Instead, it makes the changes in the virtual DOM. The virtual DOM then compares the changes with the actual DOM, and only the necessary updates are applied without requiring a full page reload. This efficient mechanism allows React to display changes or effects based on the state without the need for constant page reloading.