For reactive forms, we have a programmatic approach to how we create form elements and set up validation. We set everything up in the Component class and merely point out our created constructs in the template.
The key classes involved in this approach are:
- FormGroup, which is a grouping containing one-to-many form controls
- FormControl, which represents an input element