Building robust forms in NextJs 15

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

КОМЕНТАРІ •

  • @jfhandfield
    @jfhandfield 10 днів тому

    Great video Hamed. Thank you for your time it's appreciated. I have a quick question, is there a way to get if the form is dirty much like react-hook-form was doing ?

  • @DaveMacpherson
    @DaveMacpherson 12 днів тому +1

    So, previously I've been using a combination of the zsa library to create typesafe server actions and it's corresponding useServerAction hook, useForm from react-hook-form and zod for form validation and processing, and shadcn's Form components that help wrap react-hook-form. Is there any advantage to using these new methods over what I was using?

  • @Spielberg007
    @Spielberg007 7 днів тому

    How would you apply this in a high level form ? For example a media selector with existing data and the option to upload new data in the media selector.
    Where would you fetch the media ? And which path you revalidate ? Is it not good to fetch from a page component ?

  • @kenshinhimura3140
    @kenshinhimura3140 11 днів тому

    What is the difference between useactionstate and usestartransition? What is the state we should use between them for fetching data?

  • @Cartscryingfruit
    @Cartscryingfruit 11 днів тому

    دمت گرم😍

  • @nasrokamora
    @nasrokamora 12 днів тому +1

    Hamed Make a video on Arcjet and NextJs 15 if possible, thank you very much

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

    How to set cookies in server actions ?

  • @tannertanner1
    @tannertanner1 11 днів тому

    tysm❤️