match react router code example
Example 1: react route
npm install react-router-dom
Example 2: react router match
<Router>
<Route exact path="/" component={Home} />
<Route path="/users" component={Users} />
<Route path="/articles" component={Articles} />
</Router>