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
currently installs v0.26.0, which added support for React Router v6. This is not compatible with the specified version of "react-router-dom": "^5.2.0" in the tutorial, which uses the old useHistory function instead of useNavigate.
Doing the tutorial, I had trouble adding links to the navbar. The command
currently installs
v0.26.0
, which added support for React Router v6. This is not compatible with the specified version of"react-router-dom": "^5.2.0"
in the tutorial, which uses the olduseHistory
function instead ofuseNavigate
.I was able to fix the issue by running
in the
frontend
folder, to match the version in the tutorial repository.Maybe we should mention this in the tutorial ?
The text was updated successfully, but these errors were encountered: