-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Description
Which project does this relate to?
Start
Describe the bug
Doing a navigate on mount causes the page to hang (at least in chrome) on v1.159.1 and foward (tested up to v1.160.0)
These two factors made it reproduce reliably:
- Running the app under a basepath
- Having a
<Link>component mounted on the page
I could reproduce it under some other circumstances as well (basepath wasn't required for all of them for example), but this was the most minimal version I could break it down into.
Your Example Website or App
https://github.com/jakst/tss-redirect-in-effect-hang
Steps to Reproduce the Bug or Issue
- Checkout repo => pnpm install => pnpm dev
- Open http://localhost:3000/
- Notice the browser tab hangs and displays the / route, while the URL has changed to the /b route
Expected behavior
I expect the router to redirect without causing what I believe to be infinite loops, causing the browser to hang.
Screenshots or Videos
No response
Platform
- Router / Start Version: 1.159.1
- OS: MacOS
- Browser: Chrome
- Browser Version: 145
- Bundler: vite
- Bundler Version: 7.3.1
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels