Links
Comment on page

State Management

State management is an essential concept that deals with maintaining and managing the state of an application. In layman's terms, it's all about keeping track of the changes occurring within your app and efficiently updating the UI to reflect those changes.
At the core of state management are three primary types of state variables: app state, page state, and component state.
  • ​App State: The App State variable can be accessed and modified from any part of your app.
  • ​Page State: The Page State variable is limited to being accessed and modified within the specific page in which it is defined.
  • ​Component State: The Component State variable can be accessed and modified only within the Component.
If you prefer watching a video tutorial, here's the one for you: