Re:Browsers are pretty good at loading pages
by jimmaswell on Sunday July 21, 2019 @04:25PM
(#20493445)
Just use the history state pushing API and it's not that hard. Put state information in the url and load the right content on refresh.
[ Parent
| on HN ]
Re:Browsers are pretty good at loading pages
by mintplant on Sunday July 21, 2019 @04:51PM
(#20493576)
Scroll restoration is very difficult to reproduce perfectly. Particularly when content changes between navigating from one page to another and then navigating back, or when the user closes and re-opens the tab/browser.