-
Notifications
You must be signed in to change notification settings - Fork 2.6k
404 error when navigating with <Link> and v3_lazyRouteDiscovery on Vercel when using different runtimes per route #10492
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Similar to #10263 but different in that the runtimes play a role. |
I've run into a similar issue and I added a reproduction here: remix-run/react-router#13117 Do you think your issue is related? |
Maybe the root cause is the same, but the symptoms are different in that this case only happens on Vercel infra when using different runtimes, whereas your issue can be reproduced in a local environment. |
Thank you for opening this issue, and our apologies we haven't gotten around to it yet! With the release of React Router v7 we are sun-setting continued development/maintenance on Remix v2. If you have not already upgraded to React Router v7, we recommend you do so. We've tried to make the upgrade process as smooth as possible with our Future Flags. We are now in the process of cleaning up outdated issues and pull requests to improve the overall hygiene of our repositories. We plan to continue to address 2 types of issues in Remix v2:
If you believe this issue meets one of those criteria, please respond or create a new issue. For all other issues, ongoing maintenance will be happening in React Router v7, so:
If you have any questions you can always reach out on Discord. Thanks again for providing feedback and helping us make our framework even better! |
This bug prevents upgrading to React Router v7 |
Uh oh!
There was an error while loading. Please reload this page.
Reproduction
Deploy the following git repo to Vercel:
https://github.com/styxlab/lazy-route-discovery-link-404-on-vercel
Observe 404 error when clicking on "Navigate to About page and observe 404 error!" from index page.
Notes:
System Info
Used Package Manager
npm
Expected Behavior
No 404 error when using
Actual Behavior
404 error when using and v3_lazyRouteDiscovery
The text was updated successfully, but these errors were encountered: