Closed justinlau12 closed 9 months ago
Thanks for reporting this! I probably wont have time to look into it this weekend, but ill do some debugging next week. If you need a fix sooner im also happy to review a PR if youre willing to make a contribution 🙂
Saw the PR! Thanks for that, check my comment under there
Should be fixed in #24
Hi there, An issue has been noted with the app-tools router, where refreshing (normal and F5) breaks the router navigation of the app. Upon a refresh of a page, after investigating two things happen:
On all browsers, once a page is refreshed the entry is always duplicated, it's just that on Edge, Chrome, Safari back navigation upon a refresh of a page breaks the history which I'm not sure why that is, however like I said above if you then navigate to another page after refreshing one, it restores the history but navigating backwards you will see that the original refreshed page is duplicated and it takes two back navs in order to get to the entry before.
To repro: All I did was create a sample PWA app (under 2 min), taking the steps of installing the PWA package and running the app here: https://docs.pwabuilder.com/#/starter/quick-start
After you start the app, repro the steps above in those browsers specifically, and you will note the problem.