Angular 9 features
Angular 9 was a major release from Angular 8, introducing several new features and improvements to the framework. Some of the notable features of Angular 9 include:
- Improved Internationalization: Angular 9 introduced improved internationalization support, making it easier to build applications that support multiple languages and locales.
- Faster Testing: Angular 9 introduced several changes to improve the speed of tests, making it faster to run tests and catch bugs and issues early in the development process.
- Improved Ivy Compiler: Angular 9 introduced several improvements to the Ivy compiler, including better debugging and improved support for ngTemplateOutlet.
- Improved CSS Class and Style Binding: Angular 9 introduced improved support for CSS class and style binding, making it easier to apply styles to Angular components and elements.
- Improved Router: Angular 9 introduced several improvements to the Router, including support for optional parameters and improved handling of redirects.
- Improved Build Performance: Angular 9 introduced several changes to improve the performance of builds, including faster build times and reduced file size.
- Improved Support for TypeScript 3.7: Angular 9 is compatible with the latest version of TypeScript, providing developers with access to new language features and improved type checking.
- Improved Angular Material: Angular 9 introduced several improvements to Angular Material, including new components, improved accessibility, and better support for custom themes.
- Deprecation of the TestingBed.overrideProvider: Angular 9 deprecated the TestingBed.overrideProvider method, which was used to replace providers in tests, in favor of the TestBed.overrideProvider method.
- Improved Error Handling: Angular 9 introduced several improvements to error handling, making it easier to diagnose and fix problems in an application.