You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It makes total sense that the title is changed in afterViewChecked hook creating this error. So is this a good practice?
Is there any better way to set up the title like when the todo is set or use onChanges hook?
https://github.com/tastejs/todomvc/blob/master/examples/angular/src/app/todo-item/todo-item.component.ts
https://github.com/tastejs/todomvc/blob/master/examples/angular/src/app/todo-item/todo-item.component.html
So I have copied this exact code and run it using Angular 18.
When the input is focused, the title property is changed, resulting in this error
Expression Changed After Checked
https://angular.dev/errors/NG0100
It makes total sense that the title is changed in afterViewChecked hook creating this error. So is this a good practice?
Is there any better way to set up the title like when the todo is set or use onChanges hook?
The text was updated successfully, but these errors were encountered: