Start United States USA — software Angular 4 reduces footprint, adds features

Angular 4 reduces footprint, adds features

152
0
TEILEN

The latest version of the JavaScript framework reduces the size of generated code by more than half and moves to TypeScript 2.1
Angular 4.0.0, the latest upgrade to the popular JavaScript framework for mobile and desktop framework, was released by Google late yesterday afternoon.
The upgrade features view engine improvements making Angular smaller and faster and helping developers build smaller applications. „We’ve made changes under to hood to what AOT-generated (ahead of time) code looks like,“ Stephen Fluin, a Google developer advocate for Angular, said in a bulletin received by InfoWorld close to press time. „These changes should reduce the size of the generated code for your components by more than half in some cases. “
According to Google metrics, generated code had been about 10 times the size of the original template. „With this release, generated code is now only 3 times the size of the original template,“ the bulletin said. Angular’s builders had heard from developers that migrating to the new version, which had been available in a release candidate form, had reduced production bundles by hundreds of kilobytes.
Version 4.0.0 follows a release schedule detailed late last year in which the company jumped right from Angular 2, which arrived last September , to Angular 4.

Continue reading...