WHAT’S NEW IN ANGULAR 8.0: INTRODUCTION OF IVY RENDERER AND OTHER FEATURES
Angular 8 brings a lot of internal changes and is a stepping stone for the future Ivy implementation making it a major milestone in Angular’s history.
IVY, THE FUTURE OF ANGULAR
With Angular 8.0.0 the Angular team has shipped a framework which includes Ivy behind an experimental optional flag, enableIvy, that you can set in your angularCompilerOptions. With this version the benefit of enabling Ivy is not a big one due to the current state of its implementation. Long story short, the current NativeScript plugins are not published in an appropriate format (APF), which means that Ivy’s tree-shaking functionality is not possible.
MODERN JAVASCRIPT
From Angular 8 onwards, the CLI is going to produce separate bundles for legacy (ES5) and the modern JavaScript bundles (ES2015+), which will be the part of the overall build process.
This will result in boosting the loading speed and time to interactive (TTI) for modern browser.
This work is conceptualized and built, and shared by Manfred Steyer and his project ngx-build-modern.
Some of its features are mentioned below
· To create optimized bundles for modern browsers.
· To create legacy bundles for older browsers.
· To ensure that the browser loads the right set of bundles.
· To automate the process by facilitating an CLI extension.
ADVANTAGES OF ANGULAR 8.0 IVY
· Enhanced payload size
· Smaller builds
· Shipment of pre-compiled code
· Improved backwards compatibility
· Quick re-build time
· No requirement of metadata.json
· Advent of meta programming in Angular
NEW FEATURES OF ANGULAR 8
Now, it’s time to discuss the major changes made in Angular 8.
TYPESCRIPT 3.4.X SUPPORT
Angular 8 supports the TypeScript 3.4 or above version. So, if we want to use Angular 8 for our application, then we need to first upgrade the TypeScript to 3.4 or above.
GOOD BYE TO @ANGULAR/HTTP
From Angular 8 version, angular stop the support for @angular/http. They had already depreciated the use of @angular/http in Angular 4 and provide an efficient and secure HTTP call by using @angular/common/http. But, still Angular 7, they allow us to use @angular/http in the application. But, from Angular 8 onwards, this support is not available further. So, we need to make adjustment in our code to use @angular/common/http in place of @angular/http.
KNOWN ISSUES
Currently we are aware that @nativescript/schematics does not work with Angular 8.0.0. We are actively working on an update!
Reach out to us for your next Angular 8.0 application project to reduce your cost and timeline to achieve a great quality and crouched timeline…
Email us at: contact@rlogical.com
Skype us on: rahul.rkfuturetech
Website: https://rlogical.com/
#Rlogical #Portfolio #meanstackdevelopment #angular8.0 #angular8 #webappdevelopment #webapplicationdevelopment #itcompany