View all newsletters
Receive our newsletter - data, insights and analysis delivered to you

Google Releases Angular 6: What’s New?

Upgraded front-end platform comes with a host of new tools

By CBR Staff Writer

Hello to Angular 6: What’s New?

Google’s Angular team recently released the latest version of its User Interface Framework, with new features such as Angular Elements (ever thought of using Angular outside of Angular?), an improved Command Line Interface (CLI) and the dissociate yet timeous release of javascript library RxJS 6.

(Angular is a front-end framework used by software engineers around the globe to create interactive web applications).

Generate custom Angular components that can be used outside of an Angular app 

Custom elements have long been craved by developers of Front-End applications.

With the new Angular Elements package, developers can now create elements for use outside of an Angular context, meaning that elements such as <custom-icon></custom-icon>, which are not a part of the current HTML specification, can be used in any page.

At present, browser support is growing, with Chrome and Safari supporting custom elements natively, whilst Firefox does not by default; however, it can be enabled manually. Overall, the release of Angular Elements is a testament to the growing ubiquity of custom elements in modern web applications.

Improved CLI

Angular’s improved CLI has reworked configuration to enable multiple projects to be housed under one file, so farewell to angular-cli.json and welcome angular.json. Moreover, each project can contain custom configuration settings that are actuated upon the CLI’s build process.

RxJS revamp

RxJS is not a core part of Angular. However, informally the Angular community embraces the library as an informal core component, due to its provision of Subject and Observables (to name a few), in keeping with the reactive programming paradigm upon which Angular has been built.

Content from our partners
Powering AI’s potential: turning promise into reality
Unlocking growth through hybrid cloud: 5 key takeaways
How businesses can safeguard themselves on the cyber frontline

With this in mind, the release of RxJS 6 is big news for Angular and it contains new features such as the notable RxJS compat (acts as a proxy layer enabling backwards compatibility for previous versions) and several bug fixes.

Library Generation Support

Angular developers can now generate libraries via the new ng-packagr powered library generator. This is in keeping with the “componentised” ethos of Angular, which values portability and decoupling of code – particularly components. Ultimately, work can be packaged into NgModule’s and imported, providing flexibility.

No native support for Redux

With the upswing of Redux as the preferred state management architecture, coupled with NgRX (which provides such for Angular), it is interesting to see that Angular has not provided native support for the architecture as part of this release. Perhaps this will feature in forthcoming versions.

 

 

 

 

 

 

 

 

 

 

Topics in this article : , , ,
Websites in our network
Select and enter your corporate email address Tech Monitor's research, insight and analysis examines the frontiers of digital transformation to help tech leaders navigate the future. Our Changelog newsletter delivers our best work to your inbox every week.
  • CIO
  • CTO
  • CISO
  • CSO
  • CFO
  • CDO
  • CEO
  • Architect Founder
  • MD
  • Director
  • Manager
  • Other
Visit our privacy policy for more information about our services, how Progressive Media Investments may use, process and share your personal data, including information on your rights in respect of your personal data and how you can unsubscribe from future marketing communications. Our services are intended for corporate subscribers and you warrant that the email address submitted is your corporate email address.
THANK YOU