Created
May 13, 2022 20:27
-
-
Save twerske/a9ac481c0bbb7b847d23d28e9ed8851b to your computer and use it in GitHub Desktop.
NgModel OnPush
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Component({ | |
selector: 'my-component', | |
template: ` | |
<child [ngModel]="value"></child> | |
`, | |
changeDetection: ChangeDetectionStrategy.OnPush | |
}) | |
class MyComponent {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment