Closed alanhamlett closed 2 weeks ago
Closing in favor of this discussion.
This closed issue has been automatically locked because it had no new activity for 2 weeks. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
What is the update you wish to see?
Using app router, we can no longer push state to the next page when navigating. This is a feature depended on by many modern web apps, and IMO should be added back to the Next.js router.
https://github.com/vercel/next.js/pull/58335 tried to solve it by monkeypatching window.history.pushState, but that's error prone and the wrong solution.
Currently the only solution app devs are left with is forking next's router to allow pushing state.
Is there any context that might help us understand?
https://github.com/vercel/next.js/pull/58335#issuecomment-1846134361
Does the docs page already exist? Please link to it.
No response