Angular 10 and its Value Offerings
Angular 10 looks quite smaller than its previous versions but is an effective attempt of the Angular team to keep this framework relevant and up-to-date. Below are the top updates of this version:
CommonJS import warnings
When the AngularJS app developers make use of dependencies bundled with CommonJS, it results in larger code bundles and ultimately slow performing applications. But after this update, the developers will automatically be notified in case a CommonJS module pulls into your build.
Optional Stricter Settings
Angular 10 comes with a stricter project set-up for the creation of a new workspace using “ngnew”.Activating the flag- “ng new-strict” can initialize the new project just with a few settings which enhance maintainability, enable the CLI to optimize the app functions in an advanced manner, and help in the timely identification of bugs.
Updates in JS Ecosystem
Additional Features and Updates
- The team has added a program-based entry-point finder- EntryPointFinder in Angular version 10. This is supposedly faster than DirectoryWalkerEntryPointFinder.
- Several unimportant sections have been removed. For example, FESM5 or ESM5 bundles are removed from the angular Package Format anymore to save install-and download-time. Also, Wrapped Value is deprecated to save on performance costs.
- The Angular team along with the community has resolved about 700 issues considering the overall framework components and tools. Additionally, 2,000 more issues were touched.
- Angular10 supports the merging of several translation files. Now it’s possible to specify multiple files per locale for the users and with the help of messaging ID, and merge transactions from every file.
- For performance improvement, the Angular team has made computation of basePaths lazy, so, the work will be performed in TargetedEntryPointFinder only if required.
With incredible features, some removals, and some modifications, Angular has enriched itself and become all the more powerful. Hence, the popularity of Angular development has exponentially risen.
We hope this blog was knowledgeable and helpful to you!
Let us know your thoughts in the comment section or send us a mail at firstname.lastname@example.org for any concerns!