Creating Custom React Hooks: useForm
When working with forms in React, we typically want to have control over the form's state. React makes this easy with the useState hook, but there's still a bit of code to write on our end. Take the following simple example:
function Form() {
con...
zachsnoek.hashnode.dev3 min read