I have nested routes like this
<Route path='/' component={App}>
<IndexRedirect to='/in' />
<Route path='in' component={Authentication(MainPage)} routes>
<Route path='welcome' component={Welcome}/>
</Route>
<Route path='*' component={NotFound}/>
</Route>
Most of my routes look like this:
mysite.com/in/welcome
I'm not sure what React Router 4 is asking for. Do I need to define all of my "child routes" inside my MainPage
component?