MP4 | Video: h264, 1920×1080 | Audio: AAC, 44.1 KHz, 2 Ch
Genre: eLearning | Language: English | Duration: 8 Lessons (45m 8s) | Size: 194.8 MB
I’m going to go out on a limb here and say that your app has at least one form in it, likely more than one.
Learn to build and manage high-quality forms for your React Native app with Formik and Yup
So, how do you manage those forms Throw the data into component state or redux (yuck) and then submit it when you’re done
Where does validation fit in
You get the point – there’s more to a "simple form" than meets the eye. And when you’ve done it once you’ve got to do it again for another form.
It’s repetitive and ad-hoc APIs rarely end up easy to understand.
These challenges are amplified when you’re building larger forms.
That’s why I use Formik + Yup to build all of my forms now. It:
Manages form state
Has easy per-field validation
Has an easy to understand API
It does everything I need it to. I’ve worked with numerous consulting clients to convert their forms over to Formik + Yup and we saw