loading
loading
Data the app remembers while it is running, such as the current search query, open menu, selected tab, or logged-in user.
State is what makes an interface change over time. Some state is local to one component; some lives in the URL, server, database, or session. Bugs often come from putting state in the wrong place or letting two sources of truth disagree.
Plainly
Think of State as a named building block in a big LEGO app. Data the app remembers while it is running, such as the current search query, open menu, selected tab, or logged-in user.
In practice
Use it when you are mapping how the app is structured or explaining a feature to a teammate or agent. In practice, define the owner, input, output, and failure mode before you rely on it.