Need help to integrate BetterAuth with react-hook-form and zod in Remix

Hi, often time i need to validate the form data on the client-side first to improve UX, then validate it again on the server-side. To work with form and validation, i think react-hook-form and zod are one of the best choices right now but I can't find a way to integrate them properly with betterAuth and action-clientAction in Remix. Any insights would be great. Thanks guy. (Also, the docs for remix's integration is outdated, I think, Remix is now react-router v7. If I am wrong, just ignore this)
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?