react router "indexRedirect" v4 code example
Example 1: react router dom IndexRedirect
$ npm install --save react-router-dom
Example 2: react router dom IndexRedirect
<script src="https://unpkg.com/react-router-dom/umd/react-router-dom.min.js"></script>