Reactjs – Why submitting form programmatically using React-hook-form and useActionState, always got error `A React form was unexpectedly submitted`
I just followed a youtube tutorial about using server action with useFormState. When I following the video, There is an error fro react saying to use useActionState insted of useFormState. So I followed it up. Here is my current implementation…