I ran into a mystery. I'm in an ngFor loop like in this example:
<div *ngFor="let rc of sortedKeys(ruleImplementations)">
<vi-rule-contract [descriptor]="ruleDescriptors[rc]" [item]="action" [rc]="rc">
</vi-rule-contract>
</div>
Only for one of those N number of created 'vi-rule-contract' components (a very specific one) ngOnInit will not be called only its ngOnChanges with new values for (descriptor, rc, item). For all other 'vi-rule-contract' ngOnInit will be called but never ngOnChanges. So here is my question:
Is there a case when ngOnInit on a component will never be called only its ngOnChanges?
PS Angular 6.1.10