Angular 8 features
Angular 8 was a major release from Angular 7, introducing several new features and improvements to the framework. Some of the notable features of Angular 8 include:
- Differential Loading: Angular 8 introduced differential loading, which allows the framework to generate separate versions of the application bundle for modern and older browsers, resulting in faster loading times and improved performance.
- Ivy Renderer: Angular 8 introduced the Ivy renderer, which is a new rendering engine for Angular that results in smaller bundle sizes, faster build times, and improved application performance.
- Lazy Loading with Dynamic Imports: Angular 8 introduced support for lazy loading of modules using dynamic imports, making it easier to improve the performance of large and complex applications.
- Improved ngUpgrade: Angular 8 introduced improvements to ngUpgrade, which makes it easier to upgrade an existing AngularJS application to Angular.
- Improved Web Worker Support: Angular 8 introduced improvements to Web Worker support, making it easier to perform complex calculations and heavy computations in a background thread, improving the performance of the application.
- Improved Bazel Support: Angular 8 introduced improved support for Bazel, which is a build tool that can be used to build, test, and deploy Angular applications.
- Improved Decorator Support: Angular 8 introduced improved support for decorators, which are a way to add metadata to Angular classes and components, making it easier to reuse and extend existing code.
- Improved TypeScript Compatibility: Angular 8 is compatible with the latest version of TypeScript, providing developers with access to new language features and improved type checking.
- Improved Testing: Angular 8 introduced several improvements to testing, making it easier to write and run tests for Angular applications.
- Deprecation of the ReflectiveInjector: Angular 8 deprecated the ReflectiveInjector, which was used for dependency injection in previous versions of Angular, in favor of the new StaticInjector.