The Correct Way to Use Form Data in React

Поділитися
Вставка
  • Опубліковано 22 лис 2024

КОМЕНТАРІ • 26

  • @ThePacolicious
    @ThePacolicious Місяць тому +9

    It seems like you're reading my mind lately with your React topics. Your latest videos have been great!

  • @jacobwwarner
    @jacobwwarner Місяць тому +3

    Please, make more videos showing how to use modern Browser APIs specifically with React. Thanks! 🙏😁

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

    In order to simplfy form actions even more you should take a look at next-safe-action which integrates actions and zod perfectly.

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

    Articles/Blogs/Notes + video is great idea ✨

  • @raghavareddy246
    @raghavareddy246 Місяць тому +3

    What about form validation
    How can we do the onChange validation for text field

    • @z-aru
      @z-aru Місяць тому

      onChange validation should probably need to have a controlled or uncontrolled state, but you can still mix and match with using formData and executes the form action

  • @viniciusm.m.7822
    @viniciusm.m.7822 Місяць тому

    Thanks, brother!
    Forte abraço do Brasil!

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

    can you please also make a video or explanation about whether choose react and wether choose next js or any other frame work when we wanna make a web app currently I know react and next but have this problem choosing between them at first i thought it's ok to use next all the time since its a super framework but seems like there are things that we should consider first(as i as ChatGpt and we had a long conversation) so that's why i like to learn about these thing as well.
    Thanks for these great videos I really learn a lot from you

  • @harpo187bling
    @harpo187bling Місяць тому

    Is your course updated? Or is it still the same as the first release?

  • @TouqeerShafi
    @TouqeerShafi 17 днів тому

    if we really use this, then how can we set the default values of the form field? eg I'm on a edit page I need to get the data from the api and fill the form fields, I still have to provide defaultValues and referencing fields on each input or is there a way we can will the form using formData?

  • @oabdulazeez
    @oabdulazeez Місяць тому

    This is beautiful!.
    Thank you!

  • @hariharansubramanian-
    @hariharansubramanian- Місяць тому

    Bro what theme is this ? And the font ?

  • @Deus-lo-Vuilt
    @Deus-lo-Vuilt Місяць тому

    I like how you explain everything clearly, by any chance will you bring out any react19 or Next15 material? implementation of optimistic updates?

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

      yeah, slowly! R19 still isn't out yet and I'm waiting for that. But one of my next videos will be an Auth video with Next 15!

    • @Deus-lo-Vuilt
      @Deus-lo-Vuilt Місяць тому

      @@cosdensolutions I understand, thank you very much

  • @alex_everget
    @alex_everget Місяць тому

    Good job, dude!

  • @irfansaeedkhan7242
    @irfansaeedkhan7242 Місяць тому

    awesome thank you for sharing

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

    thank you it's a great video

  • @VictorMongi
    @VictorMongi 25 днів тому

    how to integrate with zod?

  • @Deus-lo-Vuilt
    @Deus-lo-Vuilt Місяць тому

    Great, very good video

  • @MrRicardosgeral
    @MrRicardosgeral Місяць тому

    So, if i get this rigth useForm is not the standard now?

    • @cosdensolutions
      @cosdensolutions  Місяць тому

      for client side validation it's still a great tool

  • @gabrielbroder2161
    @gabrielbroder2161 9 днів тому

    Why its so hard to do something so simple as forms in react?

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

    This channel is really an all in one stop for React, atleast for me. Thank you so much Cosden for doing what you do 🫡

  • @biswajitsundara8760
    @biswajitsundara8760 Місяць тому

    Hello. Could you please give me a coupon code for project react course? Thank you!

  • @mnhtada12
    @mnhtada12 Місяць тому

    Thank you soo much , this is great 🤍🤍🤍