-
Notifications
You must be signed in to change notification settings - Fork 594
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
Un-compatibility with react-router@^5.0.0 #288
Comments
When I ran into this, it was because react router and react router dom did not have the exact same version. Double check you did. |
I'm having a similar error. I resolved the Versions:
|
Can you do a yarn why or npm version to check the version of react-router and react-router-dom? Make sure not multiple version is installed. You can also remove node_modules and reinstall. |
I can't fully say what fixed it, but I deleted my package-lock.json and reinstalled (fixed some new bugs that were introduced) but then got this working. |
I ran into the same error for |
i too had to delete package-lock and reinstall to get it to work |
I just try on react-router@^5.0.0 with connected-react-router@^6.3.2, it seem to be un-compatibility. didn't pass router store to child component.
After downgrade react-router and react-router-dom pacakge version (@^4.3.4) everything working fine again.
I'm trying to fix this issue and PR (If i'm not too busy), looking for any reply.
Originally posted by @genexu in #273 (comment)
The text was updated successfully, but these errors were encountered: