Angular News

  • Major release
  • New features
  • Bug fixes

Angular 5

Pentagonal Donut!

  • Dramatically faster incremental rebuilds
  • Option to discard whitespaces during build
  • More versatile decorators

Angular 5

Improved Compiler

Provided by Angular's CLI

Tree shaking

Bundle size reduction

Angular 5

Build Optimization

HttpClient is lightweight and powerful

Response objects are JSON by default

Angular 5

A new HTTP module

Brand new i18n implementation

No more polyfills

Pipes!

Angular 5

Internationalization

Performance improvements

Forms would update onChange

Now have the option to update onBlur or onSubmit

Angular 5

Forms

/* Then */


// Template driven form

<input
    name="firstName"
    ngModel
>



// Reactive form

this.f = new FormControl(
    value,
    [],
    [myValidator]
);
/* Now */


// Template driven form

<input
    name="firstName"
    ngModel
    [ngModelOptions]="{updateOn: 'blur'}"
>


// Reactive form

this.f = new FormControl(
    value, {
        updateOn: 'blur',
        asyncValidators: [myValidator]
    }
);

Angular 5

Universal state transfer API

exportAs

New router lifecycle events

Zone speed improvements

Angular Material

Service workers

AppShell support...

Angular 5

Other new features

 

Angular CLI 1.5 creates Angular 5 projects by default

Pre-existing v4 projects can be upgraded using the official guide

https://angular-update-guide.firebaseapp.com/

Upgrading to Angular v5

ECMAScript modules

Letterable operators

Bundle size improvements

RxJS 5.5

Nrwl Nx

Google Firestore with AngularFire

October 10-12, Orlando

AngularMix

AngularMix

AngularMix

Angular Labs

November 7-8, London

Angular Connect

NativeScript Developer Day

September 18-19, New York City

Diversity, Inclusion, Angular

70% women speakers

Jan 30 - Feb 2, 2018

NgAtlanta

...and that's the news

Copy of Angular News

By Chetan Hegde

Copy of Angular News

Slides for the Angular Meetup, Bangalore (December 2017)

  • 233