Writing forms in React is hard. It requires a lot of boilerplate to code a state management logic, validation rules and input handlers. There are dozens of solutions that reduce this pain a bit, like the most popular now — Formik. On the other hand, inputs need a reusable design…