seasonedcc / remix-forms

The full-stack form library for Remix and React Router
https://remix-forms.seasoned.cc
MIT License
491 stars 25 forks source link

Support the other React Hook Form validators? #149

Closed bitofbreeze closed 1 year ago

bitofbreeze commented 1 year ago

React Hook Form has more resolvers than just for zod: https://github.com/react-hook-form/resolvers It would be nice to not require zod when this library is meant to support anything RHF does.

gustavoguichard commented 1 year ago

when this library is meant to support anything RHF does

I don't think that is a valid statement. This library relies heavily on Zod as much as RHF.

I don't see that happening anytime soon. There are requests to use it with other frameworks such as Svelte, Solid.. if we ever end up extracting some lower level primitives from RF we might be able to get to that point.

Anyway I wouldn't count on that for short/mid-term.

bitofbreeze commented 1 year ago

Ah ok I thought I had read or heard that you are meant to be able to eject to RHF anytime. No worries