What's new in Angular 7? - TI Technologies - 0 views
-
titechnologies on 18 Jan 19The production release of Version 7 of Angular, Google's prominent JavaScript framework for building desktop and mobile applications, is nowhere. Angular gives dependency injection, especially useful for assembling data services for applications, alongside utilization of an HTML template to create components. In Angular, developers still make components with an HTML component that interfaces with TypeScript code for basic parts of the program. It is true - Angular v7 is here and the hold up is at long last finished! And we ought to be extra excited about this one since it's a major release that implements changes, new features, and improvements throughout the entire platform, including the Angular Material, core framework, and the CLI. Let's us give you a quick look at some of the features: 1. Router: A new warning has been added on the off chance that you try to trigger navigation outside of the Angular zone, As it doesn't work if you do so, Angular now logs a warning. This is truly uncommon however can happen for instance if you try to divert your users when an error occurs in the application by giving a custom ErrorHandler. 2. CLI prompt: With the CLI Prompts capability, the Angular CLI can prompt users to enable them to decide. The ng new capability inquires as to whether users need to include routing and what sort of styles to use, while ng add @angular/material asks users what theme they need and if they want motions or animations. The CLI documentation has been incorporated into the main Angular.io docs. 3. Application performance After the Angular team found that many developers were including the reflect-metadata polyfill in production, which is just required in development, chosen that in order to fix this, part of the update to v7 will naturally remove it from your polyfills.ts file, and then incorporate it as an assembly step when building application in JIT mode, removing this polyfill from creation builds by default. 4. Angula