single Route path multiple components code example
Example: react router multiple path
<Router>
<Route path={["/home", "/users", "/widgets"]} component={Home} />
</Router>
<Router>
<Route path={["/home", "/users", "/widgets"]} component={Home} />
</Router>