21/Dec/2024 | 5 minutes to read
Angular is very popular application design framework and platform to design sophisticated and efficient Single Page Applications (SPAs) among developers. Angular is upgrading regularly to provide some new features and development environment.
Angular 10 is here! This upgrade to Angular 10 is not about new features But It focus on entire Platform including tools, design framework, Angular Material and Angular CLI. It's a major release of Angular. Angular 9 released few months back so Angular 10 is small as compare to other previous releases of Angular.
Upgrade to Angular has following new features:
New Data Range Picker is provided in Angular Material, you can select date range within one open calendar.
You can include this new date range picker by following components.
mat-date-range-input
and mat-date-range-picker
.
You can find more about it Here
CommonJs is a standard from 2009 that established some conventions for JavaScript Modules. It was primarily designed for server side
applications not for browser use. With CommonJS you can create modules, export and import them in other modules.
To ensure bundler should optimize your application performance then avoid using CommonJS modules and allow ECMAScript module syntax in your application.
Starting with Angular version 10, you will get warnings when you are using any of these CommonJS bundles. Once you see any warning let know your
dependency to prefer ECMAScript module (ESM) bundle.
There are some updates to Angular dependencies to stay synchronized with JavaScript ecosystem. These updates include:
tsconfig.base.json
. It provides the better support for IDEs and build tooling
resolve type and package configurations.
Angular Team is continuously working on fixing existing issues in the Framework and dependencies. They have resolved many issues in past few months across framework, components, dependencies and CLI etc.
You can update your application to Angular 10 by running below command in your terminal.
ng update @angular/cli @angular/core
If you have not updated your application to Angular 9 then it's recommended to first check about
Angular 9 Ivy Project, It's default rendering engine.
For more update guide you can visit Angular 10 official document
Angular is very popular design framework and development Platform to develop efficient single page applications. You can find some interesting interview questions for all versions of Angular here Angular Interview Questions