The Correct Way to Use Form Data in React

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

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

  • @ThePacolicious
    @ThePacolicious Месяц назад +10

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

  • @jacobwwarner
    @jacobwwarner Месяц назад +4

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

  • @ahmedjaber8595
    @ahmedjaber8595 Месяц назад +1

    Articles/Blogs/Notes + video is great idea ✨

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

  • @viniciusm.m.7822
    @viniciusm.m.7822 Месяц назад

    Thanks, brother!
    Forte abraço do Brasil!

  • @oabdulazeez
    @oabdulazeez Месяц назад

    This is beautiful!.
    Thank you!

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

  • @tomasburian6550
    @tomasburian6550 2 дня назад

    What I often find frustrating is that for some reason everyone writing theory thinks that forms are only made of input fields (text and number) while we have a much wider selection of components like dropdown selects, radios etc which are a bit more complicated to implement. I'd wish that tutorials and documentations would acknowledge that since we're not playing around here, we're actually doing paid work which usually has specific requirements and we can't afford to waste so much time figuring stuff on our own.

  • @nogafouz2174
    @nogafouz2174 Месяц назад +1

    thank you it's a great video

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

  • @alex_everget
    @alex_everget Месяц назад

    Good job, dude!

  • @irfansaeedkhan7242
    @irfansaeedkhan7242 Месяц назад

    awesome thank you for sharing

  • @Deus-lo-Vuilt
    @Deus-lo-Vuilt Месяц назад

    Great, very good video

  • @TouqeerShafi
    @TouqeerShafi 28 дней назад

    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?

  • @harpo187bling
    @harpo187bling Месяц назад

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

  • @hariharansubramanian-
    @hariharansubramanian- Месяц назад

    Bro what theme is this ? And the font ?

  • @VictorMongi
    @VictorMongi Месяц назад

    how to integrate with zod?

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

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

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

  • @gabrielbroder2161
    @gabrielbroder2161 20 дней назад

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

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