React Hook Form and Formik are client-side validation libraries. When you have a form, you’ll likely want to store the data in your database. For that, you would use a server action. However, when using a server action, you’ll also need server-side validation. Since server validation is required, you’ll want to display the errors on the frontend. Additionally, whenever you want to return any data from a server action, you’ll need this hook...
Thank you so much, this hook is very useful, hopefully you can also talk about the new Form component, how to use it and how it differs from form element ❤
why not use react-hook-form or Formik instead? Does this has any advantage over those?
React Hook Form and Formik are client-side validation libraries. When you have a form, you’ll likely want to store the data in your database. For that, you would use a server action. However, when using a server action, you’ll also need server-side validation. Since server validation is required, you’ll want to display the errors on the frontend. Additionally, whenever you want to return any data from a server action, you’ll need this hook...
Tks Jan!
Thank you so much, this hook is very useful, hopefully you can also talk about the new Form component, how to use it and how it differs from form element ❤
My beloved channel from Burkina-Faso
How can it be use with conform?
I Would never need any other video or documnetation to understand useActionState