useActionState with React Form Hook Understanding
Unanswered
Llamanat3r posted this in #help-forum
Hi, Im needing help understanding the data flow using useActionState and React Form Hook.
On the form, should you set the action attribute (useActionState formAction) and the onSubmit attribute (handleSubmit)?
Cannot seem to find documentation or example of how to use these libraries together. Or if they should even be used together.
On the form, should you set the action attribute (useActionState formAction) and the onSubmit attribute (handleSubmit)?
Cannot seem to find documentation or example of how to use these libraries together. Or if they should even be used together.