React Native Tutorial #32 - Validation with Yup

preview_player
Показать описание
Hey gang, in this React Native tutorial I'll show you how to validate your forms easily with a 3rd party package called Yup.
----------------------------------------

🐱‍💻 🐱‍💻 Course Links:

🐱‍💻 🐱‍💻 Other Related Courses:

Рекомендации по теме
Комментарии
Автор

UPDATED IN 23-09-2021

*LATEST CODE/UPDATED YUP : const reviewSchema = yup.object().shape

VIDOE CODE/OLD YUP: const reviewSchema = yup.object*

nevil
Автор

These tutorials are extremely helpful and I really appreciate how well you explain everything. Thank you so much!

daytdog
Автор

how yup knows which key corresponds to which formik field? Since TextInput doesn't have name property....?

arie
Автор

I am almost finished the tutorial :D all is awesome, question, I should use propTypes instead of yup for the for validation? why not use propTypes like ractJs?

tonycapo
Автор

seems harder/exactly the same as just writing your own function tbh. I already have a bad habit of using a package for everything >_> don't want to add to that; cool to know it exists though, thanks

DigitalMonsters
Автор

Think that you should add that you're using Formik in your title. Just looking for a video using Yup only and every single video tutorial on Yup is also using Formik unfortunately.

WitlessMean
Автор

I'm creating a app for the google play store, will using this package (Yup) have its downfalls in the future of the app?

HealthHabitsHQ.
Автор

Anyone know how to fix this error? only with .min(val)

TypeError: yup.string().required.min is not a function.

lostdotmov
Автор

Really appreciate your work!! I'll go to the end

juejuepaing
Автор

Quick question: When you instal YUP, Formik and so on, you just need to do it once or every time you create a new project?

FixDaily