Angular (commonly referred to as "Angular 5" or "Angular 2") is a TypeScript-based open-source front-end web application platform led by the Angular Team at Google and by a community of individuals and corporations. Angular is a complete rewrite from the same team that built AngularJS.
Angular 6 release will be pushed back to March or April 2018, with Angular 7 showing up in September or October 2018. Each version is expected to be backward-compatible with the prior release. Google pledged to do twice-a-year upgrades.
Version 6 continues an emphasis on being smaller, faster and easier to use. Planned features include:
- Version 4 of the Webpack module bundler for JavaScript, generating smaller modules through a technique known as scope hosting.
- A new method of connecting modules and services, in which services can be “tree-shakable,” meaning they can be left out of an application if not used.
- Support for the RxJS 6 library for JavaScript, reducing bundle sizes for common use cases.
- The Angular command-line interface, bringing commands such as
ng update
, for updating dependencies and code. Another command in the CLI,ng add
, helps developers more quickly add application features, such as starting out with a Material Design application rather than with a blank application. Material Design is Google’s language for designing applications. Theng add
command also supports turning applications into progressive web apps, which support offline web pages. - CLI support for libraries, with developers able to choose ng-packgr for transpiling libraries to an Angular format or use the Bazel tool to build libraries. Previously, developers had to build and package libraries by hand if they wanted to share components and services with other teams.
- Capabilities are included from the Angular Elements project, which packages components as reusable Custom Elements in an Angular application. A future release of Angular will make it possible to package Custom Elements for use in third-party applications, including those not using Angular.
- The Tree component in Angular Material and the Component Dev Kit to help visual tree structures such as a list of files.
- An optional, backward-compatible generic type to support typed
nativeElement
.
0 comments:
Post a Comment