If I use counter not within a class & used in multiple screen then It will be part of app state or not give me ans ChatGPT said: ChatGPT If you use a counter variable not within a class (i.e., as a global variable ) and access it across multiple screens, it is not considered part of the app state in a formal sense, unless you are actively managing the state using a state management solution.