DEV Community

Cover image for Angular 10 is now available!🌟
whoami22
whoami22

Posted on

4 1

Angular 10 is now available!🌟

Finally,the wait is over.The Angular 10 is available now.So what's new in Angular 10 and what are the updates in it. let's get started.

Angular 10 is smaller than previous versions of Angular. New capabilities include a new date range picker in the Angular Material UI component library and warnings for CommonJS imports. CommonJS import warnings alert developers when a dependency packaged with CommonJS could result in larger, slower applications, allowing developers to substitute an ECMAScript module bundle.

How to update?

To update your current Angular install, you can run this command:

ng update @angular/cli @angular/core

or you can find the release in github here!

Key Features in Angular 10:

⭐️ New Date Range Picker

Angular Material includes this.
Data picker

To use this in your code,you can use this following components-

mat-date-range-input
mat-date-range-picker

⭐️ Optional Stricter Settings

In Angular 10,you can have more strict settings while using ng new

ng new --strict

The strict flag does the following things:
-Enables strict mode in TypeScript
-Turns template type checking to Strict
-Default bundle budgets have been reduced by ~75%
and some more...

⭐️ Keeping Up to Date with the Ecosystem

A few updates to the dependencies of Angular to stay synchronized with the JavaScript ecosystem.
*TypeScript bumped to TypeScript 3.9
*TSLib has been updated to v2.0
*TSLint has been updated to v6

⭐️ New Default Browser Configuration

Updated the browser configuration for new projects to exclude older and less used browsers.

v9 default browser list-
Alt Text

v10 default browser list-
Alt Text

....and
⭐️ Deprecations and Removals
⭐️ Angular Team Fixit

and fixed several issues that raised in Angular v9.

You can find more info in github and in Angular official page.

Thanks for reading!! πŸ˜€

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

Top comments (0)

Cloudinary image

Optimize, customize, deliver, manage and analyze your images.

Remove background in all your web images at the same time, use outpainting to expand images with matching content, remove objects via open-set object detection and fill, recolor, crop, resize... Discover these and hundreds more ways to manage your web images and videos on a scale.

Learn more

πŸ‘‹ Kindness is contagious

Explore a trove of insights in this engaging article, celebrated within our welcoming DEV Community. Developers from every background are invited to join and enhance our shared wisdom.

A genuine "thank you" can truly uplift someone’s day. Feel free to express your gratitude in the comments below!

On DEV, our collective exchange of knowledge lightens the road ahead and strengthens our community bonds. Found something valuable here? A small thank you to the author can make a big difference.

Okay