Sep 9, 2021
The state of the UI component is an object that determines how that component renders & behaves. It is all the data in our component that we have to keep track of for it to work. It holds some information that may change over the lifetime of the component.
In other words, “state” is what allows you to create components that are dynamic and interactive.
Hope it is more clear now Charles.