How to do Component Inheritance in Angular

Поділитися
Вставка

КОМЕНТАРІ • 4

  • @dfytq
    @dfytq 7 місяців тому

    Thank you. it was really very helpful.

  • @AhsanAli-dw8iv
    @AhsanAli-dw8iv 2 роки тому

    How can I have inheritance in TS files, like I've one variable and I want that to be present in all my component's TS files

    • @khumozin
      @khumozin 2 роки тому

      You need to extend your component
      export class AppComponent extends SomeClass {}

  • @samucancld
    @samucancld Рік тому

    I'm getting ExpressionChangedAfterItHasBeenCheckes error when using inheritance in Angular 9, why is that? Great video btw