How to downgrade react-router-dom version to v5.2.0
CodePudding user response:
There are a documentation provided by react-router to upgrade or downgrade the react-router version : https://github.com/remix-run/react-router/blob/main/docs/upgrading/v5.md or use this npm command :
npm install <package>@<version>
npm i react-router-dom@5.2.3
I hope that can help you to resolve your issue.