Angular 6 new features with long term support

Angular 6 is a major release focused less on the underlying framework, and more on the toolchain and on making it easier to move quickly with Angular in the future. Angular 6 training

Dependency updates

  • @angular/core now depends on
    • TypeScript 2.7
    • RxJS 6.0.0
    • tslib 1.9.0
  • @angular/platform-server now depends on Domino 2.0

Animations update

When animation is triggered within a disabled zone, the associated event (which an instance of AnimationEvent) will no longer report the totalTime as 0 (it will emit the actual time of the animation).

Compiler update

The <template> tag was deprecated in Angular v4 to avoid collisions (i.e. when using Web Components). This change removes support for <template>. <ng-template> should be used instead.

Core update

All animation symbols must now be imported from @angular/animations. It is no longer possible to import animation-related functions from @angular/core.

Forms update

  • AbstractControl#statusChanges now emits an event of 'PENDING' when you call AbstractControl#markAsPending
  • ngModelChange is now emitted after the value/validity is updated on its control.

Read More from https://blog.angular.io/version-6-of-angular-now-available-cc56b0efa7a4

 

Leave a Reply

Your email address will not be published. Required fields are marked *