how to check the version of react-router-dom package code example
Example 1: npm react router dom
$ npm install --save react-router-dom
Example 2: npm react router dom
<script src="https://unpkg.com/react-router-dom/umd/react-router-dom.min.js"></script>