Open mcavaliere opened 4 years ago
@mcavaliere we've been using react-hook-form
on web and I'd be curious if we could keep the same setup for RN. Do you see any issues with that approach?
@cball haven't used react-hook-form yet, but this looks great, especially if it does that many fewer renders than Formik.
Can't see any issues from looking at the docs. We should try it on a RN project and report any challenges, but looks good. Also note that it works with yup
, as well as joi
and superstruct
. I've used yup and it's clean and great. The others might be worth experimenting with too, see react-hool-form resolvers
I can't think of a reason these wouldn't be a good default to have. Every project has forms, and these are prob the accepted preferred tools out there.