Formik is a tool to handle all the boilerplate code around forms in React.
It solved most of the headaches that form building can bring.
Explained by its author @jaredpalmer:
What I like about it:
- abstracts away most of the form development complexity
- uses render props to give full render control
- removes the "need" to include forms in the state management
- possible to include existing widgets into forms
Go check yourself.