Open rolznz opened 1 year ago
Benefits: form validation, saving/restoring form states, more consistency, simpler submission, less code/boilerplate/duplication, and more.
Choose a form library such as https://github.com/react-hook-form/react-hook-form and gradually migrate forms to use the form library instead of custom code.
I'm with you ;) Even though we do not have lot's of validation (yet... right?) it will align our forms and makes to code-base easier to handle in the future.
Feature description
Benefits: form validation, saving/restoring form states, more consistency, simpler submission, less code/boilerplate/duplication, and more.
Describe the solution
Choose a form library such as https://github.com/react-hook-form/react-hook-form and gradually migrate forms to use the form library instead of custom code.