Friday, May 11, 2018

Angular 6

nice photo :) and some improvements and breaking changes with RxJS

Version 6 of Angular Now Available – Angular Blog

a photo by Manu Murthy of the Angular Team

With RxJS v5.x, your imports look as follows:
import { Observable } from 'rxjs/Observable';
import 'rxjs/add/operator/map';
With RxJS v6.x, they’ve changed a bit:
import { Observable } from 'rxjs';
import { map } from 'rxjs/operators';

Angular - Tutorial: Tour of Heroes


Home · angular/angular-cli Wiki @ GitHub


No comments: