Re:URLs are state containers
by zwnow on Monday November 03, 2025 @06:30AM
(#45797977)
I hate sharing links that are like 2 pages long in Whatsapp. Simple as that. If I hit refresh on a page I do it for a reason and I expect to be set at the start of the page. Its no big deal to scroll to where I was. Bloated URLs are a pain to work with too. I highly prefer clean short links. Just store state in local storage and recover it if necessary. If the user has js disabled its kinda their issue state isnt persisted.
[ Parent
| on HN ]
There are no comments on this comment yet.