The import statements in Angular 2 can get pretty cumbersome if you’re using a lot of services, models, directives etc in any specific component. Looking at the basic “QuickStart”, the app.component.ts doesn’t seem very obtuse. import {Component} from ‘angular2/core’; @Component({ selector: ‘my-app’, template: ‘
Source: Shayne Boyer: Angular 2 : Organization Using {barrels}
The post Shayne Boyer: Angular 2 : Organization Using {barrels} appeared first on angular.org.il.