title: How to pass state/props when redirecting to another route in React?
body: <p>I have a signup form and after a user signs up, it will redirect to the email confirmation page(/confirmation) where a user types a confirmation code that I sent via an email. When a user submits a confirmation code, I want to send the code and a user's email to server-side.   </p>
  
  <p>My signup form code(simplified): </p>
  
  <pre><code>    constructor(props){
            super(props);
            this.state = {
               email: '',
               password: '',
               errors: {},
            }
         }
      handleSubmit(e){
          e.preventDefault();
          this.props.userSignup(this.state).then(
              () =&gt; {
                 this.context.router.push({
                    pathname: '/confirmation'
                 })
              },
  
           )
     }
     render(){ ...
  </code></pre>
  
  <p>I do not want to add any params to my path.<br>
  How can I pass <code>this.state.email</code> to confirmation page? </p>