title: Pass props React Router
body: <p>I need to pass props through React Router to LawsList Component. So I come up with this code: </p>
  
  <p>On main.js : </p>
  
  <pre><code>const lawlistcomponent = props =&gt; {
    console.log("test");
    return &lt;LawsList {...props} /&gt;;
  };
  
  const routes = (
    &lt;Router history={browserHistory}&gt;
      &lt;Route path="/" component={App}&gt;
        &lt;IndexRoute render={lawlistcomponent} /&gt;
        &lt;Route path="laws/:lawId" component={LawsMain} /&gt;
        &lt;Route path="votes/:lawId" component={VotesMain} /&gt;
      &lt;/Route&gt;
    &lt;/Router&gt;
  );
  </code></pre>
  
  <p>And on LawsList component : </p>
  
  <pre><code> export default createContainer(props =&gt; {
    console.log(this.props.voted);
    Meteor.subscribe("laws", props.voted);
    return { laws: Laws.find({}).fetch() };
  }, LawsList);
  </code></pre>
  
  <p>It does not return the component at all. I have no error message that could guide either !</p>
  
  <p>Any hint ? </p>