Typescript & Zod tutorial with React-Hook-Form

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

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

  • @icongrindsetsfj
    @icongrindsetsfj Год назад +1

    As a Javascript developer, this gentleman has uploaded solutions to all of my doubts and problems. Thank you for your service boss

  • @Pareshbpatel
    @Pareshbpatel Год назад +5

    A very comprehensive tutorial on using react-hook-form with Zod Validation (TS) - Thanks, Dave
    {2023-05-26}

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

    As always Dave Gray here at the exact time that I need him. I love you ❤❤❤❤❤❤

  • @mattburgess5697
    @mattburgess5697 Год назад +11

    React Hook Form is a really valuable library. If you use it I strongly recommend looking deeply into some video series.
    It is capable of extremely powerful form features that massively slash the code required for things like validation, dependant states, or disabling forms.

  • @kevinpatel123
    @kevinpatel123 Год назад +4

    One of the Best creators out there❤🙌

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

    This should be seen in the zod documentation 😊🎉
    ❤❤❤❤❤
    Greetings from Tanzania 🇹🇿

  • @ichiroutakashima4503
    @ichiroutakashima4503 Год назад +2

    I really needed this tutorial! Thank you so much!

  • @7doors847
    @7doors847 Год назад +5

    My goodness Dave!! This is wonderful! 🔥
    Also, it seems that some great improvements are on the Redux Toolkit pipeline.
    Would love for you to cover those in due time.
    Your RTK series is just phenomenal!
    Have a great day 🚀

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

    Dave is always the best. It just feels like you know how to talk to my brain, it's so easy to assimilate whatever you teach. Thank you so much, You are amazing!!!!

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

    Couldn't you just use TypeScripts Omit to omit the id?

  • @iAmTheWagon
    @iAmTheWagon Год назад +2

    Let’s gooo. Happy Friday. 🎉

  • @arjunk856
    @arjunk856 4 месяца назад

    Wonderfully covered the basics. Thanks alot.

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

    Hello Professor, Nice to see you again.

  • @TravinskiyVladislav
    @TravinskiyVladislav Год назад +4

    Thank you Dave

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

    Great for REST API! Thank you for examples and overview for Zod. We use graphql and it's shema to buld types. Works pretty the same, but I dont know if i could build validation or transform data on top of it.

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

    U r a great instructor

  • @olajideseun8741
    @olajideseun8741 Год назад +2

    Great tutorials. Thanks a ton😊

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

    Is it a bit late to ask which color theme are you using on this video? Looks great

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

    Thank you for sharing your knowledge to help us. ❤ There is a high request from your community to explain the Zustand library. I think the best way to learn it is to convert a project that has already been made with Redux Toolkit to Zustand. This may be the best way to understand it

  • @codingssprint7362
    @codingssprint7362 4 месяца назад

    react tutorial playlist one of best playlist 😊

  • @DanielAzubuine
    @DanielAzubuine Год назад +1

    Nice tutorial.
    How will I go about debouncing

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

      My channel has a couple of videos on debouncing. Here is one in React: ruclips.net/video/MHm-2YmWEek/видео.html ..Zod should not change your approach to debouncing.

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

    Hi Dave, thanks again for the tutorial, I have a question: for the frontend prjects that are using router, and most of them are using react-router, especially the new version after v6.4, the form functionality has been put into the action of react-router, is it still necessary to learn any other form library?

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

    This is great Dave.👌

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

    Great tutorial. Thank you Dave🙏

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

    Hey Dave, how can i combine this with a multi step form? Also, if you could show us how to combine it with firebase's firestore, that would be awesome too! Keep striving for progress over perfection 🤟

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

    thank you mr dave

  • @darelbvcr687
    @darelbvcr687 11 месяцев назад

    i cannot use react hook form with server actions? meaning i cant use it inside action atrribute in form?

  • @ggff2269
    @ggff2269 Год назад +1

    Hey Dave, any idea on how can we fetch multiple url parameters in nextjs 13.4? like my website url has /activate?uid=&token= . I want it to be client side and wanna get the and to request the server and verify the email. I am confused on how nextjs's file based routing will support this?

    • @ggff2269
      @ggff2269 Год назад +1

      Okay finally solved it😅😅. Was abusing nextjs filesystem routes for this.

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

      Glad you got it!

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

    i just liked the video from two differents accounts so you can get 200 likes , you are awesome man..

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

    Can you do a video of advanced react-hook-forms, with explaining everything with example, only the advanced part and new features with complex forms and validations (yup would be better), If you could, that would be helpful.

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

      Thank you for the request! I may take a deeper dive in the future.

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

    Hey Dave, Can we have one video of NextJS 13, React Query, React Hook Form and Zod together ?

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

    U r the best thank u so match

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

    Thank you so much!!!

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

    Really good video until it started the reqct hook form part, a least for me it is way better to see the code been tyoed to follow along instead of goong over the code, the brain process the information different and seen it been constrctued little by little than seen the whole thing, I understand that the length of the video restricted what you can type, but the intial setup (hooks imports, destructure) should have been tyoed, same for the form skeleton, just make 1 field and show how the register destructuring take the place of the original input fields, and the. Just paste the resta of the field or fast forward the video we the rest completed. Thanks for the video,I will keep coming to the typescript and schema part of the video for future references.

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

    I like zod but it does not easily work with conditional validation.. I wish it did

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

    I like Icon theme can you tell me plz

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

    very useful, thx.

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

    am i the only one who likes before watching?

  • @mandaudaykiran2106
    @mandaudaykiran2106 Год назад +1

    Sir you have to teach slowly my humble request

    • @Innesb
      @Innesb Год назад +1

      It’s not possible to present at a speed that is going to be appropriate for all viewers; some prefer fast and some prefer slow. My suggestion is to use the RUclips video speed controls to slow the video down if it is too fast for you. The beauty of video is that you can slow it down, stop and replay to suit your needs. Good luck!

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

    It only makes sense that is this horrible world Zod and Hook turn out to be the heroes 😅

  • @dienvidbriedis1184
    @dienvidbriedis1184 11 месяцев назад

    Just use anything with real type system, if you want types, adding this dependency feels like mastrubation.
    And why is AI overlords flooding me with like 10 videos about this zod this morning, what they want from me, i refuse to obey their command, go away, i will not add this dependency to my projects!