'What is the difference between using a normal direct property assignment or using a getter to set the value of a property in Angular?
For example, what is the difference between this:
get name() { return this.formGroup.get('name') }
and this:
public name = this.formGroup.get('name')
Thanks.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
