1. Ivy Renderer:
Angular 8 introduced the Ivy renderer as an opt-in preview. Ivy is a new,
smaller, and faster rendering engine for Angular applications. It offers
improved bundle sizes, better performance, and enhanced debugging capabilities.
2. Differential Loading: With Angular 8, the CLI
introduced a new feature called differential loading. This feature generates
separate bundles for modern and legacy browsers. Modern browsers receive a
smaller bundle with modern JavaScript features, while older browsers receive a
larger bundle with ES5-compliant code.
3. Angular CLI Improvements: Angular 8 brought
various improvements to the Angular CLI, including performance optimizations
and a reduction in build times. It also added new commands and options to
enhance development workflows.
4. Dynamic Imports for Lazy Loading: Angular 8
introduced a new syntax for lazy loading modules using dynamic imports. This
allows for more efficient code splitting and improves application loading
times.
5. Web Workers: Angular 8 added support for web
workers. Web workers enable developers to run background tasks in a separate
thread, improving application performance and responsiveness.
6. Bazel Compiler: Bazel is an open-source build tool
that can be used as an alternative to Webpack for building Angular
applications. Angular 8 introduced experimental support for the Bazel compiler.
7. Deprecation of @angular/http: Angular 8 marked the
@angular/http module as deprecated in favor of the newer HttpClientModule,
which uses the modern HttpClient.
8. Router Navigation: Angular 8 added new navigation
events, such as NavigationStart and NavigationEnd, providing more control over
the router's behavior and allowing better tracking of navigation activities.
9. Forms API Updates: Angular 8 brought some updates
to the Forms API, making it easier to work with form controls and validations.
No comments :
Post a Comment