Ionic 3 Component Inheritance

TypeScript enables us to extend existing classes (in order to create new ones) and Angular includes support for component inheritance. In order to minimise code duplication we can move common code into a base class. For example: import { Injector, OnInit, OnDestroy, Type } from '@angular/core'; import { Loading, LoadingController } from…

Read More