UIstate
UIstate is the portion of an application's state that directly affects the user interface and user experience. It includes which components are visible, which UI controls are active, and transient values such as form inputs, selections, focus, and loading indicators. UIstate is typically distinct from domain or business state, which models data and rules; UIstate is often ephemeral and tied to a particular user session or view.
Managing UIstate involves local, component-level state and, for shared UI concerns, centralized stores or patterns. Common
UIstate can be derived from domain state or persisted across sessions by saving preferences. It is typically
Examples include a modal window being open, a tab being selected, a search input's current value, a