Angular 12 - What is new in Angular 12 ? Features and breaking changes

Опубликовано: 10 Октябрь 2024
на канале: JS Frameworks
2,457
56

We take a look at the new features and the breaking changes of the newly released Angular 12.
#angular, #angular12
Summary of the topics covered in this video:

node 10 not supported
webpack 5 introduced
IE 11 support deprecated
typescript 4.2 introduced
tslint and protractor removed
ng build - default production mode
typescript strict mode default
Ivy compiler enabled and view Engine deprecated
Angular library -
Ivy publishing enabled and minified UMD bundle removed

Null coalescing operator(??) in angular template
Inline scss support in components
HttpParams - new appendAll method
HttpContext - for accessing user defined data in Http interceptors
Human readable http status codes
XhrFactory - migrated from common/http to common

forwardRef with Angular module can be used in providedIn for treeshakable providers

Sync up min and max validators with the NgModel validation

Angular global debugging utilities -
new getDirectiveMetadata utility
getDirectives returns empty array for non angular elements

Github url : https://github.com/anuroopjoy/ng12-sa...