Formik React Native Crash Course

Поділитися
Вставка

КОМЕНТАРІ • 59

  • @paulthornton1302
    @paulthornton1302 9 місяців тому +5

    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.

  • @oseifrimpongg
    @oseifrimpongg 4 місяці тому +2

    "If you have understood 10% or all of this I'm trying to say as of now, that is good enough, more than good enough. Now when I take you to the code part, you will understand the 90% part of it.". Thanks a lot for this tutorial! ❤

  • @rehandev7833
    @rehandev7833 10 місяців тому +5

    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

    • @skadoosh9365
      @skadoosh9365 5 місяців тому

      it is still not fixed buddy

  • @mohitashliya8750
    @mohitashliya8750 Рік тому +2

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

  • @RahulSharma-h3b1e
    @RahulSharma-h3b1e Рік тому +12

    this was too fast.. previous tutorials were good

  • @parthadhikari00
    @parthadhikari00 10 місяців тому

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

    • @visheshgupta4990
      @visheshgupta4990 10 місяців тому

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

  • @wazrymohamed1654
    @wazrymohamed1654 Рік тому +1

    Superb.I am enjoying the process 😍

  • @rahul_sidhha
    @rahul_sidhha Рік тому

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

  • @alexjuniortupapa
    @alexjuniortupapa 10 місяців тому

    Excellent great course and great instructor.

  • @reubenthomas1033
    @reubenthomas1033 Рік тому

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

  • @sujalmudaliar3030
    @sujalmudaliar3030 Місяць тому +1

    can someone help me with the github link for the styling part he mentioned?

  • @pranjaimewara1615
    @pranjaimewara1615 5 місяців тому +1

    Not able to find this Code in github. Can anybody help please?

  • @DheerajYadav-yq1ed
    @DheerajYadav-yq1ed Рік тому +1

    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

  • @gurpreetsingh-oo5zw
    @gurpreetsingh-oo5zw Рік тому

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

    • @HiteshCodeLab
      @HiteshCodeLab  Рік тому +2

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

    • @VASILASIS
      @VASILASIS 11 місяців тому

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

  • @tarunn9646
    @tarunn9646 8 місяців тому +1

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

    • @Zxtmusix
      @Zxtmusix 3 місяці тому

      I am also facing same issue can you tell me how to solve it

  • @Kaashif03
    @Kaashif03 5 місяців тому

    Great Video Series

  • @pranavpatki
    @pranavpatki Рік тому

    Looks like Coding Garden live stream 💯

  • @anirudhcodes
    @anirudhcodes Рік тому

    Fantastic video! 😍

  • @RaptorStudioz
    @RaptorStudioz Місяць тому +1

    This is not the right approach to teach. that you write a complete code which doesn't show up stuff on screen and nor you are explaining what's going behind the scenes, if i have to go to the docs and read about everything then what's your point of making a video.

  • @abhayverma6300
    @abhayverma6300 Рік тому

    Strongly needed video

  • @willgordon5737
    @willgordon5737 5 місяців тому +1

    Sir all of a sudden you went from beginner level to intermediate level. Way to fast.

  • @dheeraj2729
    @dheeraj2729 Рік тому

    Sir please do this series fast

    • @kruzzsteve7525
      @kruzzsteve7525 Рік тому +3

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

  • @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

  • @ritikjha4567
    @ritikjha4567 Рік тому

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

    • @enriquesalomon8197
      @enriquesalomon8197 Рік тому

      me too, have you solved it?

    • @sandeepsingh1409
      @sandeepsingh1409 Рік тому

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

    • @neeteshkaushik1745
      @neeteshkaushik1745 11 місяців тому

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

  • @usmanmehar2555
    @usmanmehar2555 Рік тому

    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 Рік тому

      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 Рік тому

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

    • @MoizKhan-uw3hx
      @MoizKhan-uw3hx Рік тому

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

    • @kanithisatishkumar7036
      @kanithisatishkumar7036 Рік тому +2

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

    • @enriquesalomon8197
      @enriquesalomon8197 Рік тому

      @@kanithisatishkumar7036 Thanks ,big helps

  • @priyanshumodi7198
    @priyanshumodi7198 9 місяців тому

    But it doesnot work in ios

  • @mletada
    @mletada Рік тому

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

    • @HiteshCodeLab
      @HiteshCodeLab  Рік тому +2

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

    • @mletada
      @mletada Рік тому +1

      @@HiteshCodeLab okay thanks I will wait this :)

  • @ghousemohiddinkhan
    @ghousemohiddinkhan 2 місяці тому

    Thanks!

  • @TheTabishnadeem
    @TheTabishnadeem Рік тому

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

  • @bilelrahmouni01
    @bilelrahmouni01 Рік тому

    thank you

  • @raghavenderreddy2729
    @raghavenderreddy2729 Рік тому

    Waiting

  • @KartikeyTT
    @KartikeyTT 10 місяців тому

    ty sir

  • @eng.alitaha
    @eng.alitaha Рік тому

    FInaaaaly

  • @allyouwanttoknow360
    @allyouwanttoknow360 Рік тому

    waste... hownto call reset outside formik?

  • @MoizKhan-uw3hx
    @MoizKhan-uw3hx Рік тому

    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 11 місяців тому +3

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

    • @_Anshukumar
      @_Anshukumar 10 місяців тому

      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 10 місяців тому

      And use this