Formik React Native Crash Course

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 มี.ค. 2023
  • Document your progress and share your React Native journey on your own Hashnode blog for free:
    hashnode.com/?source=hitesh
    Tag your posts with #reactnative so they can be easily discovered by Hashnode's global community
    github.com/hiteshchoudhary/Re...
    Discord: ""/discord
    Facebook: / hiteshchoudharypage
    Instagram: / hiteshchoudharyofficial
    homepage: www.hiteshChoudhary.com
    Disclaimer:
    It doesn't feel good to have a disclaimer in every video but this is how the world is right now.
    All videos are for educational purposes and use them wisely. Any video may have a slight mistake, please take decisions based on your research. This video is not forcing anything on you.
    All Amazon links are affiliate links (If any).
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 49

  • @rahul_sidhha
    @rahul_sidhha ปีที่แล้ว

    I appreciate your efforts so much, sir. I'm doing well and finally feel like I'm accomplishing something.

  • @reubenthomas1033
    @reubenthomas1033 ปีที่แล้ว

    Awesome! Grateful for the content you're putting out. Waiting for the next ones.

  • @mohitashliya8750
    @mohitashliya8750 5 หลายเดือนก่อน +2

    Very comprehensive tutorial on formik, as said there are very few or handful of available there.

  • @wazrymohamed1654
    @wazrymohamed1654 ปีที่แล้ว +1

    Superb.I am enjoying the process 😍

  • @rehandev7833
    @rehandev7833 4 หลายเดือนก่อน +3

    For those of you, who are facing Type error in VS Code like so:
    Type '(e?: FormEvent | undefined) => void' is not assignable to type '(event: GestureResponderEvent) => void'. Types of parameters 'e' and 'event' are incompatible.
    This is a bug that hasn't been fixed as of 30/12/2023, so the workarounds are:
    1. handleSubmit as unknown as (e: GestureResponderEvent) => void // This works fine
    2. () => handleSubmit() // This has performance issues

  • @paulthornton1302
    @paulthornton1302 3 หลายเดือนก่อน +1

    If you have an issue where the keyboard hides the output, you can add Keyboard.dismiss(); to the onSubmit like follows.
    onSubmit={ values => {
    console.log(values);
    generatePasswordString(parseInt(values.passwordLength));
    Keyboard.dismiss();
    }}
    Also add Keyboard to the import as such
    import { SafeAreaView, ScrollView, StyleSheet, Text, TextInput, TouchableOpacity, View, Keyboard } from 'react-native'
    Great course. Thank you.

  • @abhayverma6300
    @abhayverma6300 ปีที่แล้ว

    Strongly needed video

  • @parthadhikari00
    @parthadhikari00 4 หลายเดือนก่อน

    This was such a great explanation, has to say had one of the best learning experience from this playlist. Thank you ❤❤

    • @visheshgupta4990
      @visheshgupta4990 4 หลายเดือนก่อน

      Hey ! Are you doing job or you are learning it for getting your job or switching your job ?

  • @alexjuniortupapa
    @alexjuniortupapa 3 หลายเดือนก่อน

    Excellent great course and great instructor.

  • @anirudhcodes
    @anirudhcodes ปีที่แล้ว

    Fantastic video! 😍

  • @inxeoz
    @inxeoz 2 หลายเดือนก่อน

    awesome

  • @tarunn9646
    @tarunn9646 หลายเดือนก่อน

    I can't type my length of the password in the input box it is , being erased once i type it.. What to do?

  • @gurpreetsingh-oo5zw
    @gurpreetsingh-oo5zw ปีที่แล้ว

    thanks for providing valuable guidance; just asking why not use react-hook-form instead of formik???

    • @HiteshChoudharydotcom
      @HiteshChoudharydotcom  ปีที่แล้ว +1

      You can use that too. Just wanted to have variety in react native

    • @VErmuratski
      @VErmuratski 4 หลายเดือนก่อน

      From my experience, I just exhausted to adopt Picker (@react-native-picker/picker) working with Formik... react-hook-form way more better! Easy !!

  • @bilelrahmouni01
    @bilelrahmouni01 10 หลายเดือนก่อน

    thank you

  • @arsalanawan7516
    @arsalanawan7516 ปีที่แล้ว

    make a video on agenda node package for scheduling or delete data , for this i will sponsor you but i am not that much rich

  • @KartikeyTT
    @KartikeyTT 3 หลายเดือนก่อน

    ty sir

  • @DheerajYadav-yq1ed
    @DheerajYadav-yq1ed 6 หลายเดือนก่อน

    followed the tutorial throughly even copied and pasted code in a another project stilll i'm not able to generate code and functionalities not as per the video

  • @raghavenderreddy2729
    @raghavenderreddy2729 ปีที่แล้ว

    Waiting

  • @dheeraj2729
    @dheeraj2729 ปีที่แล้ว +1

    Sir please do this series fast

    • @kruzzsteve7525
      @kruzzsteve7525 ปีที่แล้ว +2

      Bro it's takes time to make this type of high quality video so please don't complain appreciate the content 🙏

  • @ritikjha4567
    @ritikjha4567 9 หลายเดือนก่อน

    passing the handleSubmit reference to onPress throws the error.It's not working can somebody help

    • @enriquesalomon8197
      @enriquesalomon8197 5 หลายเดือนก่อน

      me too, have you solved it?

    • @sandeepsingh1409
      @sandeepsingh1409 5 หลายเดือนก่อน

      onPress={() => {
      handleSubmit()
      }}
      This solved the issue. Do not know if this method is correct.

    • @neeteshkaushik1745
      @neeteshkaushik1745 4 หลายเดือนก่อน

      you can wrap handleSubmit inside a callback and pass that callback inside onPress , eg : onPress = {( ) => handleSubmit( )}

  • @pranavpatki
    @pranavpatki ปีที่แล้ว

    Looks like Coding Garden live stream 💯

  • @priyanshumodi7198
    @priyanshumodi7198 3 หลายเดือนก่อน

    But it doesnot work in ios

  • @mletada
    @mletada ปีที่แล้ว

    do you have a tutorial like this with API, database?

    • @HiteshChoudharydotcom
      @HiteshChoudharydotcom  ปีที่แล้ว +2

      Yep, it’s an ongoing series and I will try to add them too

    • @mletada
      @mletada ปีที่แล้ว +1

      @@HiteshChoudharydotcom okay thanks I will wait this :)

  • @MoizKhan-uw3hx
    @MoizKhan-uw3hx 6 หลายเดือนก่อน

    sir there is an error in onpress={handleSubmit} I think due to that error submit button is not working. please help me to solve this error

    • @neeteshkaushik1745
      @neeteshkaushik1745 4 หลายเดือนก่อน +3

      you can wrap handleSubmit inside a callback and pass that callback inside onPress , eg : onPress = {( ) => handleSubmit( )}

    • @_Anshukumar
      @_Anshukumar 3 หลายเดือนก่อน

      const PasswordSchema = Yup.object({
      passwordLength: Yup.number()
      .min(4, 'Should be min of 4 characters')
      .max(16, 'Should be max of 16 characters')
      .required('Length is required')
      })

    • @_Anshukumar
      @_Anshukumar 3 หลายเดือนก่อน

      And use this

  • @user-px6yb9zj9e
    @user-px6yb9zj9e 9 หลายเดือนก่อน +4

    this was too fast.. previous tutorials were good

  • @alitaha2598
    @alitaha2598 7 หลายเดือนก่อน

    FInaaaaly

  • @TheTabishnadeem
    @TheTabishnadeem 10 หลายเดือนก่อน

    Respect++ for your effort to record 1 hr long video again with this much energy! 🫡🫡
    Really enjoying the series sir.😊

  • @allyouwanttoknow360
    @allyouwanttoknow360 11 หลายเดือนก่อน

    waste... hownto call reset outside formik?

  • @usmanmehar2555
    @usmanmehar2555 7 หลายเดือนก่อน

    sir there is an error in onpress={handleSubmit} I think due to that error submit button is not working. please help me to solve this error

    • @usmanmehar2555
      @usmanmehar2555 7 หลายเดือนก่อน

      submit button is not give error message and after entering valid entry this is not working. i hope you will answer me soon. i am waiting fo it.

    • @DheerajYadav-yq1ed
      @DheerajYadav-yq1ed 6 หลายเดือนก่อน

      bro pass it like "onPress={()=>{handleSubmit}}" , @@usmanmehar2555

    • @MoizKhan-uw3hx
      @MoizKhan-uw3hx 6 หลายเดือนก่อน

      But After implementing this functionality not woring@@DheerajYadav-yq1ed

    • @kanithisatishkumar7036
      @kanithisatishkumar7036 6 หลายเดือนก่อน +2

      put this code in place onpress(handelsubmit) ---- onPress={(event) => {
      handleSubmit();
      event.preventDefault();
      }}

    • @enriquesalomon8197
      @enriquesalomon8197 5 หลายเดือนก่อน

      @@kanithisatishkumar7036 Thanks ,big helps