I'm not sure how to get either a nested route to display two components at the same time or even two non nested routes to display two components at the same time.
My routing looks like:
export default (
<Route path="/" component={Index}>
<Route path="/nextpage" component={Index2} />
</Route>
);
which gets utilized within my provider
export default (
<Provider store={store}>
<Router history={browserHistory}>{routes}</Router>
</Provider>
);
I'm new to react, but my understanding is that when I visit endpoint nextpage, that both Index and Index2 should be rendered. However, only the first component is rendered. Is there anything else I have to do to make both components appear?