title: Is it better to reuse FormGroup vs new FormGroup in Angular?
body: <p>Are there benefits of doing this:</p>
  <pre><code>  export class ContactComponent implements OnInit { 
  
    form: FormGroup;
  
    constructor(private formBuilder: FormBuilder) { }
  
    ngOnInit() {
      this.form = this.formBuilder.group({ 
        email: ['', [Validators.required, Validators.email]],
        name: ['', [Validators.required, Validators.maxLength(40)]],
      });
    }
  
    onFormChange(contact: Contact) {
     this.form.controls['email'].setValue(contact.email);
     this.form.controls['name'].setValue(contact.name);
    }
  </code></pre>
  <p>Over this:</p>
  <pre><code>  export class ContactComponent implements OnInit { 
  
    form: FormGroup;
  
    constructor(private formBuilder: FormBuilder) { }
  
    ngOnInit() {}
  
    onFormChange(contact: Contact) {
     this.form = new FormGroup({
              email: new FormControl(contact.email),
              name: new FormControl(contact.name),
      });
    }
  </code></pre>
  <p>I assume it is expensive to declare new repeatedly but I couldn't find any answers?</p>