A user doesn’t think about where state is stored
A user doesn’t think about where state is stored.
They think “I’m gonna bookmark this” and expect to see the same thing later.
They think “I’m gonna share this link” and expect someone else to see the same thing.
If this doesn’t work, it’s confusing and frustrating.
The solution: Store non-sensitive state in the URL.
Examples:
Active filters
Current search
Active tab
Scroll position
Current page number in paginated results
Current record