Repository navigation
Web HIG tip #2: The URL is the interface #8
frozonfreak
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Web HIG tip #2: The URL is the interface
Rule: The URL is the single source of truth for tabs, filters, search, pagination, and sort. A deep link must restore the same view someone would reach by using the UI. (Quick #21–22.)
If a filter, tab, search, or sort only lives in component state, refresh wipes it, share lies, and Back does not undo the last change. Support cannot reproduce the view, and "open in a new tab" opens a different product.
Do instead:
The Web HIG is a behavioral contract for how the web should behave — not a component library.
All reactions