title: How to pass the match when using render in Route component from react router (v4)
body: <p>When declaring a route like this:</p>
  
  <p>App.js</p>
  
  <p><code>&lt;Route path="/:id" component={RunningProject} /&gt;</code></p>
  
  <p>I can obtain the id param in RunningProject.js like this</p>
  
  <pre><code>constructor(props){
      super(props)
      console.log(props.match.params.id);
  }
  </code></pre>
  
  <p>But when declaring the route like this</p>
  
  <p><code>&lt;Route path="/:id" render={() =&gt; &lt;RunningProject getProjectById={this.getProject} /&gt;} /&gt;</code></p>
  
  <p>I get an error because match no longer get passed into the props.</p>
  
  <p>How can I pass the match object into the <code>props</code> using <code>render=</code> instead of <code>component=</code> ?</p>