I have a parent-component like this:
@Component({
template: "",
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class ImYourFather {}
Now I also have two inheritance components like this:
@Component({
template: "I'm Luke",
})
export class Luke extends ImYourFather {}
@Component({
template: "I'm Leia",
})
export class Leia extends ImYourFather {}
What is the changeDetectionStrategy for Luka & Leia?
Will @Component decorator metadata inherited?
Please provide some source to verify the statement! I haven’t found anything yet. Thanks.