-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Tutorial ends with error "You should not use <Link> outside a <Router>" #3018
Comments
Same here with my project. I had to change the react-router dependency NOT to use the version 4.4.0 of react-router. The release tagged as "Latest release" (it's the 4.3.1) of react-router does work. |
what's the "Tutorial ends with an error."? Can you please provide a sample project triggering the issue? Also, since it seems to be a regression on the react-router side, did any of the commenter here open an issue in the react-router repository? |
Been having this issue all morning. so this weekend it seems react-router and react-router-dom changed versions: "You should not use react-router-dom version 4.3.1 with react-router 4.4.0." i managed to bypass this issue using this remix-run/react-router#6630 (comment) |
There is also an issue with the history@4.8.0 - deprecating
Instead, use:
https://github.com/ReactTraining/history/releases So my big "FIX" is something like
Still some changes to react-admin core needs to be done. |
Please fix this breaking change; I am getting ready for a demo. Would probably downgrade or try working around. |
Check out my example (https://codesandbox.io/s/14nl4pw6k4) from my issue #3019 |
The react-router team seems to have fixed the problem on their side. Can you please remove your node_modules, run |
@fzaninotto |
Tutorial ends with an error.
You should not use <Link> outside a <Router>
The text was updated successfully, but these errors were encountered: