Now that we have learned about the Input Hook, and how it simplifies dealing with the input field state, we are going to implement Input Hooks in our blog app.
First, we have to install the react-hookedup library in our blog app project:
> npm install --save react-hookedup
We are now going to implement Input Hooks in the following components:
- The Login component
- The Register component
- The CreatePost component
Let's get started implementing Input Hooks.