Languages

React - how to check react-router version?

3 points
Asked by:
Olivier-Myers
454

Do you know how to check the version of react-router in my project?

2 answers
3 points
Answered by:
Olivier-Myers
454

Every package version is stored in the package.json file.

Simple steps:

  1. go to project-path/package.json,
  2. search for react-router.
React - react-router version check
React - react-router version check
0 comments Add comment
3 points
Answered by:
Olivier-Myers
454

You can also use npm: 

npm list --depth=0

The above command will return a list of locally installed packages (without displaying their dependencies).

0 comments Add comment
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join