In the docs for reactive forms, it's suggested that I should add the following lines to my app.module.ts.
import { ReactiveFormsModule } from '@angular/forms';
...
@NgModule({ imports: [ ReactiveFormsModule, ... ], ... })
export class AppModule { }
Then, in a later section, it's suggested to also add the following in my actual.component.ts.
import { FormControl, FormGroup } from '@angular/forms';
I've tried to skip the module part and only import stuff in the component, which seems to work, as far I can tell. It seems reasonable to me that if I'd do the opposite and added the module part, I wouldn't have to import in the components of that module. It's the combination of module part and component part that confuses me.
I don't understand the purpose of the both operations together. Why do they do that?