I have sideBarMenuComponent which contains the following code in render()
<ul>
<li><Link to='/home'>Home</Link></li>
<li><Link to='/settings'>Settings</Link></li>
</ul>
and another MasterLayoutComponent which render HomeComponent and SettingsComponent in the main-content in render()
<div className="MasterLayoutComponent">
<Header />
<div className="main-content">
<Route exact path='/home' component={HomeComponent} />
<Route exact path='/settings' component={SettingsComponet} />
</div>
<Footer />
</div>
But when I click on the Links of sideBarMenuComponent the HomeComponent and the SettingsComponet aren't rendered, What is the wrong?