Angular is one of the leading frameworks for the design and creation of complex single-page applications. Angular 10 recently comprises several new features, including a new dates range selector in the UI part library Angular Content and a TypeScript 9. The rate of introduction of new improvements is fast. Angular is fast. Angular 10.1.0 is a supplement to the Angular 10, which was recently published. This update includes a range of new features to boost Angular 10’s performance.
Top Features in Angular 10.1
Some of the new features of Angular 10.1 are as follows:
-
Script Sort 4.0
TypeScript supports 4.0 in this latest version. While 4.0 sounds like a tonne, TypeScript doesn’t follow semver, so this is not an extraordinary release.
-
i18n
@angular/localise is progressing and now includes a message extraction function. The good news is that messages can be recovered from your TypeScript code.
-
Compiler
A new rigour alternative named strictInputAccessModifiers is given to the compiler. It reports an error if allowed when an input binding attempts to allocate a directive or part to a restricted area.
-
Form
In development builds, we now exclude the error messages of forms, which we previously included and saw everywhere as we developed.
-
Lightweight injection token
Library developers can benefit from this recent feature. During the building phase, they can consider tree-shaking to eliminate specific components and services that client applications may not need. However, Angular saves the tokens for injection, so this optimization doesn’t always occur.
-
Async() helper renamed
The test support functionality async has been updated, and waitForAsync has been renamed.
The explanation for this rename is because there may be a misunderstanding with a feature called async(), which is slightly identical (you can wait for asynchronous calls), but different (async() waits for all asynchromic calls, where async is only waiting for needs marked with waiting) for the JavaScript keyword called async(). This is a little different. -
ProgramBasedEntryPointFinder:
EntryPointManifest can reuse dependencies to load them as much as possible, thereby eliminating the need to parse them again during any invocation of ngcc.
-
Bazel build tool:
In addition to the ng-module law, Bazel build tool helps the linker bind ng modules in Node.js’ runtime activities of Node.js. LinkabablePackageInfo is introduced.
Conclusion:
Angular 10 has persistently improved and played the game. By studying the latest features of Angular 10.1, we will assert the same dedication and comfort as its last counterparts.
At Krify, we boast a team of skilled developers who eagerly explore and work with the latest trends and technologies. Our developers maintain a high level of skill and stay updated with the latest versions of technologies. If you are interested in learning more about Angular 10.1, reach out to us.