Expression Changed After It Has Been Checked Error code example
Example: expression changed after it has been checked
export class BComponent {
@Input() text;
constructor(private parent: AppComponent) {}
ngOnInit() {
this.parent.text = 'updated text';
}
}<>Copy