What is State?
State is a snapshot of the application at any certain point of time.
For example, the current state of an application can tell us a lot of things like:
If a button is clicked or not.
User input, such as form submissions, filters and search queries.
🔗Reference : stackoverflow.com
🔗Source: Interview Questions and Answers
🔗Reference: Javatpoint.com