News for hackers. Stuff that matters.
Re:Show HN: Sapper.js – towards a better web app framework by rich_harris on Tuesday January 02, 2018 @06:12PM (#16056790)
> You find that you will be at the top of the page as it re-renders. You lose the place you were scrolled to.

What browser is that happening in? In Chrome it works correctly — Sapper uses `history.scrollRestoration = 'manual'` for this exact reason, but maybe it fails elsewhere? It's a bug, and we should fix it. (This is pre-1.0 software, your forbearance is appreciated.)

Re:Show HN: Sapper.js – towards a better web app framework by Nemi on Sunday January 07, 2018 @04:55PM (#16092962)
Way late on this reply, but it was in chrome. I found that an immediate back button would often work, but if the page you were navigating to was overly large or you clicked into another link or two and then went all the way back it would lose place.