September 2017
Intermediate to advanced
450 pages
11h 24m
English
If you have any custom components in your Angular application that implement class method overrides to any of the component lifecycle hooks in Angular you will need to update your implementation to use the implements keyword instead of extends:
@Component()class MyComponent extends OnInit {}
In Angular 4, because these lifecycle hooks are defined as interfaces instead of abstract classes you must use the implements keyword:
@Component()class MyComponent implements OnInit {}
Read now
Unlock full access