Angular 4 Improvements and New Features
Let’s look into the improvements and the new features that come with upgrading to Angular 4. According to the semvar specification, major upgrades come with API changes that may be incompatible with legacy versions of the API. These API changes can be a large source of concern for developers worried about deprecated features causing their app to stop working as expected. Thankfully, another huge strategy change with Angular 4 from 2 was a much more predictable & reliable upgrade experience for developers.
Packaging and Modules
Many of the big changes in Angular 4 are largely opaque to developers and include changes to the packaging and build system that Angular uses. The newest version of Angular’s core libraries is packaged in what is known as Flat ES Modules. This change is a performance optimization to help reduce the size and increase the speed of generated builds in Angular.
Note
Generated File Size Optimizations in Angular 4 Slimming down the...