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. W
I figured it out.
this.context.router.push({ pathname: '/confirmation', state: {email: this.state.email} })
and access state by:
this.props.location.state.email