Creating a Reusable Input
In this lesson, we're going to make the input more reusable for outputting errors.
We'll cover the following...
We’re finished creating the validators. If you’d like to continue to the next section, feel free to do so. This lesson and the next will cover converting the inputs into a reusable component. We’ll be doing this so we won’t have to rewrite the errors for every input.
Generating a component
The first thing we’ll do is ...