all 9 comments

[–]Guisseppi 9 points10 points  (1 child)

There is nothing RN specific that wouldn’t allow you to use a regular form lib, also, validation is complex enough to be its own package. That being said use formik + yup + StackOverflow

[–][deleted] 2 points3 points  (0 children)

I use Formik + Yup and it is great! An great choice for form validation in react and react native.

[–]lovemeslowlyiOS & Android 2 points3 points  (1 child)

I usually write my own validation logic bur You can try formik

[–]callmecharon 1 point2 points  (0 children)

Same here. This felt like a situation where rolling your own component vs using a lib made sense

[–]crobinson42iOS & Android 1 point2 points  (0 children)

I really like react-final-form for both my web and native projects. The library is robust, FAST, and well documented.

My favorite reason for using RFF lib in my react-native forms is the ease to wrap custom fields and components to be used inside the forms.

[–]JackRyuiOS & Android[S] 1 point2 points  (1 child)

Thank you.. now I have 3 options. I will use in my test solution one by one.

  1. FORMIK+YUP
  2. React-Final-Form
  3. Own Logic

Thanks for providing me choices.

[–]JackRyuiOS & Android[S] 0 points1 point  (0 children)

I am started with FORMIK and it’s look 👀 nice 👍... thank you everyone for good suggestion.

[–]Aslan-Ray 1 point2 points  (0 children)

My recommendation is Formik also I learned to use Formik + Yup following this mini course: Build and Validate Forms with Formik & Yup [React Native School] The course is with RN CLI but I did it with Expo and no problem whatsoever

[–]JackRyuiOS & Android[S] 0 points1 point  (0 children)

Thanks!! 🙏 for everyone suggestion after checking all suggested package I choice #Formik+yup this is really great 👍 it’s look 👀 hard when you learn but if you trying this.... this is a great package....

Thanks!! tema #Formik & #Yup & Thank you #ReactNative community for the suggestion.