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.”[ Use JavaScript in your dev shop? InfoWorld looks at 17 JavaScript editors and IDEs and 22 JavaScript frameworks ready for adoption. | Keep up with hot topics in programming with InfoWorld’s App Dev Report newsletter. ]
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.To read this article in full or to leave a comment, please click here

Leave a Reply