Pass props to component via navigation
I am building the registration flow of an application.
Currently I am navigating to
The component which backs
What is the best way to pass
I saw it is possible to use path params as such:
but I would rather not have my URL look like this:
Is there a way to pass
/register captures email + password/verify captures the verification code that was sent via emailCurrently I am navigating to
/verify viaThe component which backs
/verify is currently defined as suchWhat is the best way to pass
email from /register to /verify?I saw it is possible to use path params as such:
but I would rather not have my URL look like this:
mywebsite.com/verify/some_user@gmail.comIs there a way to pass
email in as props?