python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Infinite loop when calling detectChanges() inside ngAfterViewChecked?
I recently reviewed some code where detectChanges() is called from ngAfterViewChecked. How does that not cause an infinite loop? Shouldn't it trigger another change detection cycle, which will call ng...
Cory
Votes: 0
Answers: 1
Why is it considered a code smell to call detectChanges()?
I recently reviewed some code where detectChanges is called. I've read all over the place that manually running a change detection cycle is a code smell and a sign that you are probably doing somethin...
Cory
Votes: 0
Answers: 0
Angular @Input value not changing when changed from Parent Component
I have added same child component three times in a single parent component
And below is the change function called on one of the children's components to change the selectedName in other two child co...

RS Roshi
Votes: 0
Answers: 1
How to use any type of property in a component on ngOnchanges
How to use any type of property in a component on ngOnchanges without @input property.
I can not use Rxjs for this situation. It is not a child component so i have no @input property.
Please see the f...
Habib01
Votes: 0
Answers: 0