Version 11.0.0 is major release which includes Router, Forms and added HMR Support(Hot Module Replacement).
Having 3 major releases within year angular team not only kept the framework synchronized with latest version of Javascript and Typescript ecosystem, but tried to caters needs for broader developer community.
Lazy Modules
in the Named OutletsrouterLinkActive
is not getting re-evaluated when its corresponding routerLink is updatedtranslate
strings used anywhere in the code, using an APIRelative
links should be generated properly: /a and /b.statusChange
should always be emitted on FormGroup and FormControlfirst contentful paint
, automatic font inlining has been introduced. This is default in the apps built with version 11.Component Test Harnesses has been completed for all components in release 11. The parallel function makes working with asynchronous actions in your tests easier by allowing developers to run multiple asynchronous interactions with components in parallel. The manualChangeDetection
function gives developers access to finer grained control of change detection by disabling automatic change detection in unit tests.
The language service will be able to correctly infer generic types in templates the same way the TypeScript compiler does.
By typing below command on the development server, one can enable the HMR in angular project.
ng serve --hmr
Accelerating the development and build cycle by making updates in some key areas.