mrjvs / neatojs

Collection of neat JS tools
https://neatojs.com/
MIT License
18 stars 2 forks source link

Redirects can't be navigated back with #37

Closed mrjvs closed 4 months ago

mrjvs commented 4 months ago

Describe the bug

After a redirect, the back button on the browser breaks

Which package/app is affected (leave empty if unsure)

@neato/guider

Link to the code that reproduces this issue

No response

Steps to reproduce

  1. click on a link that redirects
  2. try to go back with the browser navigation buttons
  3. it no worky

Expected Behavior

going back should go back to the page before the redirect

Extra details

Maybe a router replace instead of a push will work