React Native Tutorial #32 - Validation with Yup

Поделиться
HTML-код
  • Опубликовано: 25 ноя 2024

Комментарии • 20

  • @52nevil36
    @52nevil36 3 года назад +3

    UPDATED IN 23-09-2021
    *LATEST CODE/UPDATED YUP : const reviewSchema = yup.object().shape
    VIDOE CODE/OLD YUP: const reviewSchema = yup.object*

  • @daytdog
    @daytdog 4 года назад +4

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

  • @FLOKY42
    @FLOKY42 3 года назад +1

    Cant stop applausing! Just perfect!

  • @ericsheep
    @ericsheep Год назад

    Holy cow this is so well taught

  • @tonycapo01
    @tonycapo01 4 года назад +2

    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?

  • @juejuepaing6985
    @juejuepaing6985 4 года назад

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

  • @arie7135
    @arie7135 Год назад

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

  • @DigitalMonsters
    @DigitalMonsters 4 года назад +10

    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

    • @StarBattle08
      @StarBattle08 4 года назад

      why is it a bad habit? it's there to make your life a bit easier xD

    • @hypnoboutique
      @hypnoboutique 4 года назад +2

      Complex forms require complex validation solutions. Yup is a great tool in these instances.

  • @HealthHabitsHQ.
    @HealthHabitsHQ. 3 года назад

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

  • @WitlessMean
    @WitlessMean 4 года назад +1

    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.

  • @FixDaily
    @FixDaily 4 года назад

    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?

    • @sarquamon2503
      @sarquamon2503 4 года назад +1

      I depends on the package, wether its locally installed (on the project) or globally (on your system). So for example, you would have to install Yup on every new project, but if you install create-react-app globally you are able to run the create-react-app from anywhere on your system

  • @salahalsamarraaee650
    @salahalsamarraaee650 2 года назад

    thank you

  • @lostdotmov
    @lostdotmov 3 года назад

    Anyone know how to fix this error? only with .min(val)
    TypeError: yup.string().required.min is not a function.

  • @ridl27
    @ridl27 4 года назад

    2nd, cho