You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One route is throwing error, because server-runtime is using globally set dev server hook, so it is impossible to have two (or more) remix apps in one project.
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:
Bugs that pose security concerns
Bugs that prevent upgrading to React Router v7
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 this is a feature request, please open a new Proposal Discussion in React Router, and if it gets enough community support it can be considered for implementation
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!
Uh oh!
There was an error while loading. Please reload this page.
Reproduction
https://github.com/Mordred/multi-remix
Open https://localhost:3000/admin/ and https://localhost:3000/blog/
System Info
Used Package Manager
npm
Expected Behavior
Both routes should be working correctly
Actual Behavior
One route is throwing error, because
server-runtime
is using globally set dev server hook, so it is impossible to have two (or more) remix apps in one project.https://github.com/remix-run/remix/blob/main/packages/remix-server-runtime/dev.ts#L41
https://github.com/remix-run/remix/blob/main/packages/remix-dev/vite/plugin.ts#L1317
Second dev server is rewriting hook for the first one which will then crash.
The text was updated successfully, but these errors were encountered: