The BEST Way of Doing Forms in Next.js (and all the other ways)

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 พ.ย. 2024

ความคิดเห็น • 9

  • @ibrahim_youssef_13.12
    @ibrahim_youssef_13.12 2 หลายเดือนก่อน +1

    Great as always, please design Next project and during coding teach us the bad practices lead to unhandled errors

    • @tobitacklestech
      @tobitacklestech  2 หลายเดือนก่อน +1

      Great suggestion! I will take a Look on it

    • @ibrahim_youssef_13.12
      @ibrahim_youssef_13.12 2 หลายเดือนก่อน

      @@tobitacklestech I will remember you of your promise ☺️☺️

  • @mdeutschmann
    @mdeutschmann 15 วันที่ผ่านมา

    Very helpful content 🤙What kind of screen-recording tool you are using?

    • @tobitacklestech
      @tobitacklestech  15 วันที่ผ่านมา +1

      I use screen studio 😎

  • @saulgodman7872
    @saulgodman7872 หลายเดือนก่อน

    Thanks for your work :)
    One question, React 19 will replace the useFormState with useFormAction hook (React-dom), but I don't know why they do this. useFormAction() do the same as useFormState(). Or am I wrong here? Sorry for the off-topic :)

    • @tobitacklestech
      @tobitacklestech  หลายเดือนก่อน

      I think the new function is called useActionState
      The reason for this change is that `useActionState` is more versatile and not limited to just form submissions. It can be used with any action, whether it's triggered by a form or not. This aligns with React's move towards a more general "Actions" concept rather than being form-specific.

  • @govindpvenu
    @govindpvenu 6 วันที่ผ่านมา

    what about next/form in next 15?

    • @tobitacklestech
      @tobitacklestech  5 วันที่ผ่านมา +1

      The new Form Component has some great benefits, maybe I will make a video about it!