News for hackers. Stuff that matters.
Re:URLs are state containers by layer8 on Sunday November 02, 2025 @11:41AM (#45791544)
Yes, but how do you garbage-collect the stored per-tab state from the local storage? Note that it’s not just per tab, but per history entry of the tab. (When the user goes back, they want the respective state to be restored, and again when going forward in reverse.) Furthermore, with browser features like “reopen closed tab”. Better let the browser manage the state implicitly by managing the URLs.
Re:URLs are state containers by MattDaEskimo on Sunday November 02, 2025 @04:14PM (#45793510)
Scroll position is _kind of_ fine. Typically I can link the ID in the URL as "state".

I was referring to mostly everything else