title: How to Redirect when logged in(ReactJs)
body: <pre><code>&lt;Route path='/Signup' render={
            (props) =&gt; (
              &lt;Signup {...props} Logged={Logged}/&gt;
            )} /&gt;
  </code></pre>
  <p>I have a state with Islogged const and I want to rediect to home when logged or else render signup
  how to achieve it?</p>