URL state
Application state kept in the URL so it survives a refresh, a shared link, and browser navigation.
Local component state disappears on refresh and can't be shared as a link. The URL lets browser history, bookmarks, and shared links preserve state. Filters, selected tabs, pagination, sorting, and the active view in a multi-view page are the recurring candidates (anything the user would reasonably expect to still be there after hitting reload or sending someone the link).
Not everything belongs there: a hover state, a temporary input value, or an open tooltip has no reason to survive a refresh and would just add noise to the address bar. The test worth applying to a given piece of state is whether losing it on reload would actually annoy someone.
Related terms