Skip to content

Issue with migrating existing React router based app to Remix #3450

Closed Answered by shirshendubhowmick
shirshendubhowmick asked this question in Q&A
Discussion options

You must be logged in to vote

The root behind this, the app was using two different instance of React router.

As mentioned it's a monorepo, there was two different React router inside node modules which caused the issue. React router is suppose to be used as singleton.

A better error message here would have been helpful. Just like React which clearly points this kind of error.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by shirshendubhowmick
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant