title: how to pass props from one component to other in react router that don't have parent child relationship?
body: <pre><code>&lt;Router&gt;
      &lt;Route path="/" component={ Layout }&gt;
          &lt;IndexRoute component={ Home } /&gt;
  
          &lt;Route path="packages" component={ Package }/&gt;
          &lt;Route path="packageDetail/:packageId"   component={ PackageDetail } /&gt;
  
          &lt;Route path="*" component={ NotFound } /&gt;
      &lt;/Route&gt;
  &lt;/Router&gt;
  </code></pre>
  
  <p>how  to pass props from packages to packageDetail which dont have parent child relationship?</p>