2 ms·
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.
by jimmaswell 7y ago
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.
- mintplant 7y agoScroll 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.