T
TanStack4mo ago
like-gold

How to properly redirect client-side

Hi, should i use throw redirect or useNavigate() client-side? It seems like both works. Example: User signs a form, onSuccess redirect the user to another page.
1 Reply
adverse-sapphire
adverse-sapphire4mo ago
Use useNavigate on the client side and redirect for server functions.

Did you find this page helpful?