TanStackT
TanStack17mo ago
4 replies
crooked-brown

pass a “state” when using “navigate()”

Hey,

Thanks for all the help with the previous question. Now to the next one:

After sign up I’m redirecting user to “sign in” page using “navigate({to: /sign-in}). I want to display some kind of toaster for users that just signed up and are on sign in page to inform them to check the email.

I would like to pass some kind of “state” param when doing “navigate()” and the read this state on the sign-in page.

I would like to not do this using search params but rather to keep it hidden to the end user.

Thanks for all your help!
Was this page helpful?