News for hackers. Stuff that matters.
Re:URLs are state containers by o11c on Sunday November 02, 2025 @03:46PM (#45793280)
Even with JS, if it is classical synchronous JS it is much better than the modern blind push for async JS, which causes the browser to try to restore the position before the JS has actually created the content.
Re:URLs are state containers by nextaccountic on Sunday November 02, 2025 @04:31PM (#45793625)
isn't there a way to instruct the browser to restore the position only after certain async thing?
Re:URLs are state containers by kuekacang on Sunday November 02, 2025 @07:41PM (#45794767)
I think the hack is to store html height/width locally and restore it as early as possible so the content will then load under the scrolled view