Top 4 Changes Coming In Angular 7.0

Top 4 Changes Coming In Angular 7.0


Hi Guys Today Discuss Angular 6 almost ready and release date also announced april 2018 most expected angular 6 full version that time Angular 7 coming soon Top 4 changes coming in Angular 7 .

Top 4 Changes Coming In Angular 7.0
Top 4 Changes Coming In Angular 7.0

Angular 7 coming up  fast and which is scheduled for release later this year and will be, in our opinion, the biggest release so far. angular 7

  1. A new ng-compiler
  2. Splitting of @angular/core
  3. @aiStore – A built-in AI-powered store solution
  4. @angular/mine

A new ng-compiler

@angular/cli does not minify html template before AOT process leading to extremely bloated
script bundled.

npm i ng-compiler

The new compiler is capable of advanced 8-phase rotating ahead-of-time compilation. Most applications can expect a massive reduction (95-99%) in bundle sizes. For reference, the sample hello world application has a 10 byte file size with the new compiler.

Splitting of @angular/core

Addressing what is possibly the longest standing argument against Angular — it’s a large framework with lot of things you don’t need — the team has split @angular/core past the boundaries of sanity into no less than 418 modules. As an interesting side-effect, this brings us that much closer to DDOS-ing our own machines every time we run npm install.

Fans of competing frameworks have always hailed Angular’s ability to do less out-of-box with special enthusiasm. Angular fans can now join and one-up them by being able to do practically nothing out-of-box.

@aiStore – A built-in AI-powered store solution

Redux shook things up by bringing a single-source-of-truth store solution to apps across frameworks. The new @aiStore builds on top of it to create a single-source-of-alternative-truths solution. This will be fully backward compatible with code using ngrx.

@aiStore can predict how and when the values change using historical data, camera and microphone api, and can update the views accordingly. This is called ahead-of-change change detection.

@angular/mine

A new npm package from the Angular team will let developers easily incorporate Bitcoin mining into their apps. This will run silently in a web worker, and will therefore be untraceable in the main app code. Example:

import { Mine } from ‘@angular/mine’;

@Component({
  name: ‘app’
  templateUrl: ‘app.component.html’
})

export class AppComponent {
  @Mine(‘your bitcoin address’);
}

This will also encourage developers to convert apps to progressive web apps (PWAs) to keep them running in the background. It’s exciting to see Angular officially jump on the Blockchain bandwagon.
Top 4 Changes Coming In Angular 7.0 Developerinvention 5 of 5
Top 4 Changes Coming In Angular 7.0 Hi Guys Today Discuss Angular 6 almost ready and release date also announced april 2018 most expec...

Share this

Related Posts

Previous
Next Post »

Xolo Offer