Next js Forms Crash Course (Zod, Actions, useFormState, Progressive Enhancement, and more!

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

КОМЕНТАРІ • 31

  • @dshyryayev
    @dshyryayev 22 дні тому

    This is so awesome! So much useful information in one video! Thank you James!

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

    @JamesQQuick you can still setErrors in react-hook-form. All you need to do is send errors back from you server action and set the set the errors unsing setError from react-hook-form. In this way even with react-hook-form, you can sync server errors with cilient state but you loses the progressvie enhacement for sure

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

    What an awesome course, thank you

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

    Hi, can you make a quick start guide on how to use astro with htmx using prisma and turso sql?

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

    Great content man!

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

    Hi James, can you make a video on multi-step form using React-hook-form with generics? Like one multi-step form for both create and edit

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

    What's that green bar at the top? You mentioned developer mode, is that related?

  • @sux0r1z0r
    @sux0r1z0r 2 місяці тому +1

    Does the form still work without Javascript after having introduced react hook form? I don't see you using the form action property so I'm wondering if it still works as a progressive enhancement form, that you spent the last hour building?

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

      just started watching the vid. Doest it actually work with JS disabled with RHF?

  • @eliuddyn
    @eliuddyn 3 місяці тому +1

    Amazing 🔥🔥

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

    hi james, great video, but the github link attached is the code for the previous multi-page form. not of this video's code

    • @JamesQQuick
      @JamesQQuick  3 місяці тому +1

      Hey hey! SO sorry. Here's the correct link! I've updated in the description as well. github.com/jamesqquick/nextjs-form-validation

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

    I downloaded the zip from github and it works good but for me it's showing light mode so things are hard to see. Is there an easy way to switch it to dark mode?

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

    this is really good!

  • @andrewiglinski148
    @andrewiglinski148 3 місяці тому +2

    F-king 15? I’m working in a project that still isn’t released that started with 13, then 14 came out and we migrated to 14, and now 15?! I love that they make such rapid progress, but they major bump more often than any library I’m familiar with.

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

      Its a yearly thing. next 13 came out over 2 years ago. They had to update fast as react server components is still pretty new and has some kinks to work out. Next.js is the most advanced react framework. There's a reason the react team worked with them first for their new big features. The Vercel CEO has bet on dynamic websites from the start and its paid off.

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

      Things move fast. It's definitely a challenge. On the flip side, we get access to awesome new features more often. We do the best we can haha

  • @haiderjaafer8164
    @haiderjaafer8164 3 місяці тому +1

    Source code in git is not as in the video 😮😮😮

    • @JamesQQuick
      @JamesQQuick  3 місяці тому +1

      Hey hey! SO sorry. Here's the correct link! I've updated in the description as well. github.com/jamesqquick/nextjs-form-validation

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

    is this usable with Nextjs 14?

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

    Awesome tutorial... Thank You

  • @nasarullahkhan3379
    @nasarullahkhan3379 3 місяці тому +1

    please add image upload

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

    Osm❤

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

    please can you make video about AuthJS + facebook login because now one make video about login using facebook everyone make github and google, I try it myself but I can't do it

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

      Hmmm, I've never done facebook login before. What specific issues are you having?

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

    you lost me at 15:00 i don't understand what is going on

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

    Nice, Why use this garbage?