title: Access most recent component's routing from other component
body: <p>I have a problem with <code>react-router</code> library. Please, look at my simplified routing:</p>
  
  <pre><code>&lt;Router&gt;
      &lt;Route path="/" component={Layout}&gt;
          &lt;Route path="assets" component={Assets}&gt;
              &lt;Route path=":id/definition" component={AssetDefinition}&gt;
                  { /* etc. ... */ }
              &lt;/Route&gt;
              &lt;Route path=":id/version" component={AssetVersion}&gt;
                  &lt;Route path=":verId/edit" component={EditVersion}&gt;&lt;/Route&gt;
                  { /* etc. ... */ }
              &lt;/Route&gt;
          &lt;/Route&gt;
          &lt;Route path="applications" component={Applications}&gt;
              &lt;Route path=":id/definition" component={AppDefinition}&gt;
                  { /* etc. ... */ }
              &lt;/Route&gt;
              &lt;Route path=":id/version" component={AppVersion}&gt;
                  { /* etc. ... */ }
              &lt;/Route&gt;
          &lt;/Route&gt;
      &lt;/Route&gt;
  &lt;/Router&gt;
  </code></pre>
  
  <p>In <code>Layout</code> component I render <code>Menu</code> next to <code>this.props.children</code> rendered basing on routing. My <code>Menu</code> is being generated dynamically using <code>this.props.route.path</code>.</p>
  
  <pre><code>export default class Layout extends React.Component {
      render() {
          return (
              &lt;div&gt;
                  &lt;Menu /&gt;    
                  { this.props.children }
              &lt;/div&gt;
          );
      }
  }
  </code></pre>
  
  <p>The problem is I don't know the appropriate routing path in <code>Menu</code>.</p>
  
  <p><strong>e.g.</strong><br>
  I open <code>/assets/123/version</code>. Now I want to check <code>AssetVersion</code> component's route children (from <code>this.props.route.childRoutes</code>). I expect children elements inside this route (basing on given routing). But what I get is <code>assets</code> and <code>applications</code>, because <code>Menu</code> is higher and "fixed" in components tree.</p>
  
  <p>How to access the most recent component's routing open in my app inside the <code>Menu</code>?</p>