multiple routes react code example
Example 1: react router multiple path
<Router>
<Route path={["/home", "/users", "/widgets"]} component={Home} />
</Router>
Example 2: react route multiple components
//use multiple components in one Route:
<Route path='/path' render={props =>
<div>
<FirstChild />
<SecondChild />
</div>
} />