This repository was archived by the owner on Jan 11, 2023. It is now read-only.
This repository was archived by the owner on Jan 11, 2023. It is now read-only.
Sapper doesn't render pages which are set by pushstate #791
Open
Description
A little background - pushstate is used a lot when persisting a page which results from a search query. Adding parameters dynamically and then allowing the user to click back in order to return to their filtered search results.
It appears that doing so in Sapper doesn't work - the title changes, and the URL changes in the browser, but hitting back doesn't re-render the page, unless you then navigate forward again and then backwards.
I've created a reproduction here: https://github.com/antony/sapper-pushstate-issue