Using nested routes with react-route
问题 I have a few pages in my app that have their own menus, besides of course the main menu. I wish at every time that the sub-menu is clicked to render a different component. I was told I could do that with react-routes, but it reaches a point where I get stuck and have no idea where to go from there. Here is a sample of my relevant current code: //app.js ReactDOM.render( <Router history={hashHistory}> <Route path="/" component={App} handler={App}> <IndexRoute component={Index}/> <Route path=