Examples and comparisons of handling forms in React in different ways.
- Old-school class controlled component
- Controlled component using Hooks
- Formik and (for validation) Yup
- redux-form
- React Final Form
- Informed
I created this to learn about the various options, and have not been maintaining it. Several of the libraries are older versions, and there are potential security vulnerabilities in some dependencies. Use at your own risk.
If anyone is interested in taking this over and keeping the dependencies up to date, please let me know.