React 15 ⚛️ Introduction to State and useState
State is the data a component owns and can change over time. Props are read-only and come from the parent; state is mutable and belongs to the component itself. When a component’s state changes, React re-renders the component with the new values, and the UI reflects the change. This is the mechanism that makes React…