Reproduce nextjs-back-before-hydration from its authentic engineer request.
Reproduce nextjs-back-before-hydration from its authentic engineer request.: a task in nextjs-selfbench (Harbor dataset). Fix the App Router race that occurs when a user presses Back after a reloaded document has committed but before hydration has installed the router's history listener. Once…
The task
Fix the App Router race that occurs when a user presses Back after a reloaded document has committed but before hydration has installed the router's history listener. Once hydration completes, the rendered route and the browser's current history entry must be reconciled, including entries that differ by pathname or…
Part of dari-ai/nextjs-selfbench.