T
TanStack2w ago
rare-sapphire

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
rival-black
rival-black2w ago
Use useNavigate on the client side and redirect for server functions.

Did you find this page helpful?