SlideShare a Scribd company logo
1 of 12
Download to read offline
Angular 12 Brought
Several New Features To
The Table
Table of Contents
1) The “Ivy Everywhere” approach
2) Planning for the future of Protractor
3) Shifting from legacy i18n message IDs
4) Styling enhancements
5) Nullish coalescing
6) Community support
7) Support deprecation for IE11
8) Production build
9) Strict
10) New dev tools
11) Typescript 4.2
12) Angular
13) Final considerations
2
1. The “Ivy Everywhere” approach
With the arrival of Angular 12, the View Engine is finally on its way out. The developer community of
Angular has been working on ongoing deliveries in an attempt to combine the ecosystem of the
framework with Ivy. They describe this methodology using the term “Ivy Everywhere.” With the
denunciation of the View Engine, you can expect it to be absent from future releases too. Also, as
already mentioned earlier, the present libraries are using the View Engine, and in any case, it will work
with Ivy applications. Nevertheless, library authors should initiate the transition to Ivy.
3
2. Planning for the future of Protractor
The creators of Angular have been partnering with the developer community to decide what to do with
the Protractor. At the moment, these people, along with the providers of angular development services
are exploring the feedback shared in the RFC and ascertaining the future for Protractor. It’s one of the
newest features introduced by Angular 12. The team chose to refrain from including it in new tasks.
Instead, they want to furnish the alternatives with popular third-party solutions in the CLI of Angular.
Currently, the team is working with TestCafe, WebdriverIO, and Cypress to assist the best providers of
angular development services with elective solutions. More information will be available on this matter
as the development procedure continues.
4
3. Shifting from legacy i18n message IDs
At the moment, specialists are utilizing various legacy message-ID designs in the i18n framework. Now,
these message-IDs are somewhat delicate because specific problems can emerge that depend on
whitespace, the organizing formats, as well as the ICU expressions. The creators of Angular and the
developer community are relocating away from them to fix this issue. The latest design of standard
message-ID made it significantly tougher and more natural. It’s a unique configuration that can reduce
the superfluous translation invalidation and associated retranslation expenses in applications where the
translations don’t coordinate.
5
4. Styling enhancements
With Angular 12, developers can make use of Components because they’ll get support for inline Sass in
the styles field of the @Component decorator. Sass was already accessible from outside resources due
to the Angular compiler. Now, you can authorize this component in every current application just by
adding “scss” and “inlineStyleLanguage” to angular.json. It will also be accessible to new tasks using
SCSS. Both Angular Material and Angular CDK adopted the new module framework of Sass internally. If
your application uses Angular Material or Angular CDK, you have to make sure to change it from
node-sass to the sass npm package. The node-sass package is now derelict and will no longer be aware of
new additions to the features included in the Sass language. When it comes to updating an application to
the latest version of Angular, it will change to the new API of Sass by refreshing the application with an
ng update. Through this order, developers can re-factor any Sass @import expressions for Angular
Material and Angular CDK code to the latest @use API. After all, both Angular Material and Angular
CDK will unearth another Sass API surface designed to use with the new @use structure of the
language.
6
5. Nullish coalescing
Whenever you hire an angular developer, you’ll notice him/her using the nullish coalescing operator (??).
It has been assisting developers with the task of writing cleaner code in TypeScript classes for quite
some time. The main highlight of this feature, among several others, is that it lets a developer bring the
power of nullish coalescing to the templates of Angular in the latest version. At the moment, in
templates, developers can utilize the new syntax structure to augment the complex conditionals.
7
6. Community support
The Angular team has been doing its job diligently in a bid to enhance the experience Angular has to
offer to every user by adding to the structure. They are attempting to improve the learning experience
of Angular for developers continuously. As part of the newest features introduced by Angular 12, the
community rolled out several profound improvements to the documentation. They also managed to
update the angular.io contributor’s guide that will support individuals aiming to augment the docs.
8
7. Support deprecation for IE11
You don’t have to hire an Angular developer to know that this framework is evergreen. Since the arrival
of the first version of this framework, it has been on the same page with the advancements in web
ecosystems. By eliminating support for legacy browsers, Angular specialists provide cutting-edge
modern solutions and all-inclusive support to clients and developers. The creators of Angular also added
a new deprecation warning message as another feature. Once Angular 13 will be ready for launch, they
will eliminate support for IE11 entirely.
8. Production build
Up until now, running the ng build command made improvements towards development builds. With the
twelfth version of Angular, the ng build will go to a production build by default. In other words, it will
support several groups to abstain from building and conveying development builds tragically to
production environments.
9
9. Strict
The earlier versions didn’t have it, but Angular 12 enabled the strict mode by default in the CLI as one of
the features. This mode increases maintainability and assists developers in pinpointing bugs during the
earliest stages of the process. Furthermore, the strict mode applications tend to be much simpler to
examine statically and can enhance the security and accuracy if the ng update command refactor code
while updating to the latest version of Angular.
10. New dev tools
Within a few days after the release of the twelfth installment of Angular, the community reported the
accessibility of Angular Dev Tools for Google Chrome. It’s possible to use the embedded profiler to
preview and record the change-detection events. Developers can now monitor them to ensure which
detection cycle and components took the longest time. Previously, the Angular community had to resort
to semi-official Dev Tools that weren’t compatible with Ivy. Rest assured, it will be a win-win situation
for everyone.
10
11. Typescript 4.2
Another one of the most noteworthy updates in the features of Angular 12 is the support for Typescript
4.2. The most stable version appeared on 23rd February. There are several exciting features and unique
changes in this version.
12. Angular Universal
One of the most significant improvements of the Angular 12 features in Inline critical CSS that’s by
default in the nguniversal/common. Angular universal can now support proxy configuration in
ssr-dev-server builder. The schematics also received updates to use defaultConfiguration. This version
supports an SSR engine called “Clover,” along with a new engine that appears exceptionally promising.
The ultimate purpose of this new engine is to simplify things to generate application shells without any
extra builds. It can even remove the requirement for multiple builds for SSR/prerender.
11
Final considerations
It’s safe to say that Angular 12 brought forth a pile of improvements to enhance performance, compiler,
language service, form validation, and so much more. It’s also worth mentioning here that many more
features need exploration. Time is the only thing that the developers need.
Original Source: https://www.moontechnolabs.com/blog/angular-12-brought-several-new-features-to-the-table/
Thank You!

More Related Content

What's hot

David container security-with_falco
David container security-with_falcoDavid container security-with_falco
David container security-with_falco
Lorenzo David
 

What's hot (20)

Getting started with Octopus Deploy
Getting started with Octopus DeployGetting started with Octopus Deploy
Getting started with Octopus Deploy
 
Kubernetes Application Deployment with Helm - A beginner Guide!
Kubernetes Application Deployment with Helm - A beginner Guide!Kubernetes Application Deployment with Helm - A beginner Guide!
Kubernetes Application Deployment with Helm - A beginner Guide!
 
David container security-with_falco
David container security-with_falcoDavid container security-with_falco
David container security-with_falco
 
Devops certification training course
Devops certification training courseDevops certification training course
Devops certification training course
 
Gitops: the kubernetes way
Gitops: the kubernetes wayGitops: the kubernetes way
Gitops: the kubernetes way
 
Introduction to CRI and OCI
Introduction to CRI and OCIIntroduction to CRI and OCI
Introduction to CRI and OCI
 
Automation testing material by Durgasoft,hyderabad
Automation testing material by Durgasoft,hyderabadAutomation testing material by Durgasoft,hyderabad
Automation testing material by Durgasoft,hyderabad
 
Infrastructure-as-Code with Pulumi - Better than all the others (like Ansible)?
Infrastructure-as-Code with Pulumi- Better than all the others (like Ansible)?Infrastructure-as-Code with Pulumi- Better than all the others (like Ansible)?
Infrastructure-as-Code with Pulumi - Better than all the others (like Ansible)?
 
CI/CD Tools Universe: The Ultimate List
CI/CD Tools Universe: The Ultimate ListCI/CD Tools Universe: The Ultimate List
CI/CD Tools Universe: The Ultimate List
 
CI/CD 101
CI/CD 101CI/CD 101
CI/CD 101
 
Autoscale a self-healing cluster in OpenStack with Heat
Autoscale a self-healing cluster in OpenStack with HeatAutoscale a self-healing cluster in OpenStack with Heat
Autoscale a self-healing cluster in OpenStack with Heat
 
Helm - Package Manager for Kubernetes
Helm - Package Manager for KubernetesHelm - Package Manager for Kubernetes
Helm - Package Manager for Kubernetes
 
Continuous Inspection of Code Quality: SonarQube
Continuous Inspection of Code Quality: SonarQubeContinuous Inspection of Code Quality: SonarQube
Continuous Inspection of Code Quality: SonarQube
 
Pulumi. Modern Infrastructure as Code.
Pulumi. Modern Infrastructure as Code.Pulumi. Modern Infrastructure as Code.
Pulumi. Modern Infrastructure as Code.
 
Reactive programming with RxJava
Reactive programming with RxJavaReactive programming with RxJava
Reactive programming with RxJava
 
Devops - Microservice and Kubernetes
Devops - Microservice and KubernetesDevops - Microservice and Kubernetes
Devops - Microservice and Kubernetes
 
Code Coverage
Code CoverageCode Coverage
Code Coverage
 
Patterns of evolution from monolith to microservices
Patterns of evolution from monolith to microservicesPatterns of evolution from monolith to microservices
Patterns of evolution from monolith to microservices
 
Agile Testing and Test Automation
Agile Testing and Test AutomationAgile Testing and Test Automation
Agile Testing and Test Automation
 
Serverless orchestration and automation with Cloud Workflows
Serverless orchestration and automation with Cloud WorkflowsServerless orchestration and automation with Cloud Workflows
Serverless orchestration and automation with Cloud Workflows
 

Similar to Angular 12 brought several new features to the table

Similar to Angular 12 brought several new features to the table (20)

The new features of angular 12
The new features of angular 12The new features of angular 12
The new features of angular 12
 
Top Features Of Angular 13 You Must Know
Top Features Of Angular 13 You Must KnowTop Features Of Angular 13 You Must Know
Top Features Of Angular 13 You Must Know
 
What’s new in angular 13 and why should you use it for web app development pr...
What’s new in angular 13 and why should you use it for web app development pr...What’s new in angular 13 and why should you use it for web app development pr...
What’s new in angular 13 and why should you use it for web app development pr...
 
Top Features And Updates Of Angular 13 You Must Know
Top Features And Updates Of Angular 13 You Must KnowTop Features And Updates Of Angular 13 You Must Know
Top Features And Updates Of Angular 13 You Must Know
 
Angular 7: Everything You Need to Know!
Angular 7: Everything You Need to Know!Angular 7: Everything You Need to Know!
Angular 7: Everything You Need to Know!
 
What is Angular Ivy?
What is Angular Ivy?What is Angular Ivy?
What is Angular Ivy?
 
Where and Why Use Angular for Web Development?
Where and Why Use Angular for Web Development?Where and Why Use Angular for Web Development?
Where and Why Use Angular for Web Development?
 
Angular.js vs. vue.js – which one is the better choice in 2022
Angular.js vs. vue.js – which one is the better choice in 2022 Angular.js vs. vue.js – which one is the better choice in 2022
Angular.js vs. vue.js – which one is the better choice in 2022
 
What angular 13 will bring to the table
What angular 13 will bring to the table What angular 13 will bring to the table
What angular 13 will bring to the table
 
What’s New in Angular 14?
What’s New in Angular 14?What’s New in Angular 14?
What’s New in Angular 14?
 
Angular11 exciting new features and updates
Angular11 exciting new features and updatesAngular11 exciting new features and updates
Angular11 exciting new features and updates
 
Angular
AngularAngular
Angular
 
When It Comes Down To Choosing Between Angular OR React Framework For Your Ap...
When It Comes Down To Choosing Between Angular OR React Framework For Your Ap...When It Comes Down To Choosing Between Angular OR React Framework For Your Ap...
When It Comes Down To Choosing Between Angular OR React Framework For Your Ap...
 
Top Features of Angular 13
Top Features of Angular 13Top Features of Angular 13
Top Features of Angular 13
 
Angularjs Development Company USA
Angularjs Development Company USA Angularjs Development Company USA
Angularjs Development Company USA
 
Angular 13 noteworthy add ons, enhancements, and modifications
Angular 13 noteworthy add ons, enhancements, and modificationsAngular 13 noteworthy add ons, enhancements, and modifications
Angular 13 noteworthy add ons, enhancements, and modifications
 
Heading towards the great release of angular 8.0 development observe the uno...
Heading towards the great release of angular 8.0 development  observe the uno...Heading towards the great release of angular 8.0 development  observe the uno...
Heading towards the great release of angular 8.0 development observe the uno...
 
Top Reasons to use the Angular Framework for developing Applications!
Top Reasons to use the Angular Framework for developing Applications!Top Reasons to use the Angular Framework for developing Applications!
Top Reasons to use the Angular Framework for developing Applications!
 
THE FUTURE OF ANGULAR JS
THE FUTURE OF ANGULAR JSTHE FUTURE OF ANGULAR JS
THE FUTURE OF ANGULAR JS
 
Angular 11 – everything you need to know
Angular 11 – everything you need to knowAngular 11 – everything you need to know
Angular 11 – everything you need to know
 

More from Moon Technolabs Pvt. Ltd.

More from Moon Technolabs Pvt. Ltd. (20)

Why do you need a Healthcare app development company like Moon Technolabs_.pdf
Why do you need a Healthcare app development company like Moon Technolabs_.pdfWhy do you need a Healthcare app development company like Moon Technolabs_.pdf
Why do you need a Healthcare app development company like Moon Technolabs_.pdf
 
Healthcare Mobile App Development - An technique for a patient-centric app.pdf
Healthcare Mobile App Development - An technique for a patient-centric app.pdfHealthcare Mobile App Development - An technique for a patient-centric app.pdf
Healthcare Mobile App Development - An technique for a patient-centric app.pdf
 
Some major challenges faced by Food delivery apps.pdf
Some major challenges faced by Food delivery apps.pdfSome major challenges faced by Food delivery apps.pdf
Some major challenges faced by Food delivery apps.pdf
 
Complete Guide about Food delivery app development in 2022.pdf
Complete Guide about Food delivery app development in 2022.pdfComplete Guide about Food delivery app development in 2022.pdf
Complete Guide about Food delivery app development in 2022.pdf
 
On-demand Delivery Apps and Their Role.pdf
On-demand Delivery Apps and Their Role.pdfOn-demand Delivery Apps and Their Role.pdf
On-demand Delivery Apps and Their Role.pdf
 
Everything you need to know about an on-demand app.pdf
Everything you need to know about an on-demand app.pdfEverything you need to know about an on-demand app.pdf
Everything you need to know about an on-demand app.pdf
 
Read About Node.js And PHP Before You Hire Node.js Developers.pdf
Read About Node.js And PHP Before You Hire Node.js Developers.pdfRead About Node.js And PHP Before You Hire Node.js Developers.pdf
Read About Node.js And PHP Before You Hire Node.js Developers.pdf
 
On-Demand app development for Business in 2022.pdf
On-Demand app development for Business in 2022.pdfOn-Demand app development for Business in 2022.pdf
On-Demand app development for Business in 2022.pdf
 
The benefits of on-demand app development for your business and customers.pdf
The benefits of on-demand app development for your business and customers.pdfThe benefits of on-demand app development for your business and customers.pdf
The benefits of on-demand app development for your business and customers.pdf
 
Check Out 7 Exclusive Ideas From A Healthcare App Development Company.pdf
Check Out 7 Exclusive Ideas From A Healthcare App Development Company.pdfCheck Out 7 Exclusive Ideas From A Healthcare App Development Company.pdf
Check Out 7 Exclusive Ideas From A Healthcare App Development Company.pdf
 
Become As Successful As These Companies With React Native App Development.pdf
Become As Successful As These Companies With React Native App Development.pdfBecome As Successful As These Companies With React Native App Development.pdf
Become As Successful As These Companies With React Native App Development.pdf
 
What’s New In Drupal Web Development Services With Drupal 9?
What’s New In Drupal Web Development Services With Drupal 9?What’s New In Drupal Web Development Services With Drupal 9?
What’s New In Drupal Web Development Services With Drupal 9?
 
React Native_ What is it_ and, Why is it used_.pdf
React Native_ What is it_ and, Why is it used_.pdfReact Native_ What is it_ and, Why is it used_.pdf
React Native_ What is it_ and, Why is it used_.pdf
 
PHP to Node.js_ When Migrating is the Right Idea and How to Do It_.pdf
PHP to Node.js_ When Migrating is the Right Idea and How to Do It_.pdfPHP to Node.js_ When Migrating is the Right Idea and How to Do It_.pdf
PHP to Node.js_ When Migrating is the Right Idea and How to Do It_.pdf
 
The Best Cross-platform app development Technologies.pdf
The Best Cross-platform app development Technologies.pdfThe Best Cross-platform app development Technologies.pdf
The Best Cross-platform app development Technologies.pdf
 
Famous companies who built their apps in Flutter.pdf
Famous companies who built their apps in Flutter.pdfFamous companies who built their apps in Flutter.pdf
Famous companies who built their apps in Flutter.pdf
 
What Are The Best Alternatives To Electron For Cross-Platform Desktop App Dev...
What Are The Best Alternatives To Electron For Cross-Platform Desktop App Dev...What Are The Best Alternatives To Electron For Cross-Platform Desktop App Dev...
What Are The Best Alternatives To Electron For Cross-Platform Desktop App Dev...
 
Do You Need To Hire Node.js Developers To Install Node.js & NPM On Your Compu...
Do You Need To Hire Node.js Developers To Install Node.js & NPM On Your Compu...Do You Need To Hire Node.js Developers To Install Node.js & NPM On Your Compu...
Do You Need To Hire Node.js Developers To Install Node.js & NPM On Your Compu...
 
Everything you need to know about Xamarin app development.pdf
Everything you need to know about Xamarin app development.pdfEverything you need to know about Xamarin app development.pdf
Everything you need to know about Xamarin app development.pdf
 
Native vs Cross-platform Mobile app development_ Which one is good_.pdf
Native vs Cross-platform Mobile app development_ Which one is good_.pdfNative vs Cross-platform Mobile app development_ Which one is good_.pdf
Native vs Cross-platform Mobile app development_ Which one is good_.pdf
 

Recently uploaded

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Recently uploaded (20)

Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Navigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern EnterpriseNavigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern Enterprise
 
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Simplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptxSimplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptx
 
Choreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software EngineeringChoreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software Engineering
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Decarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational PerformanceDecarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational Performance
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data PlatformLess Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
 

Angular 12 brought several new features to the table

  • 1. Angular 12 Brought Several New Features To The Table
  • 2. Table of Contents 1) The “Ivy Everywhere” approach 2) Planning for the future of Protractor 3) Shifting from legacy i18n message IDs 4) Styling enhancements 5) Nullish coalescing 6) Community support 7) Support deprecation for IE11 8) Production build 9) Strict 10) New dev tools 11) Typescript 4.2 12) Angular 13) Final considerations 2
  • 3. 1. The “Ivy Everywhere” approach With the arrival of Angular 12, the View Engine is finally on its way out. The developer community of Angular has been working on ongoing deliveries in an attempt to combine the ecosystem of the framework with Ivy. They describe this methodology using the term “Ivy Everywhere.” With the denunciation of the View Engine, you can expect it to be absent from future releases too. Also, as already mentioned earlier, the present libraries are using the View Engine, and in any case, it will work with Ivy applications. Nevertheless, library authors should initiate the transition to Ivy. 3
  • 4. 2. Planning for the future of Protractor The creators of Angular have been partnering with the developer community to decide what to do with the Protractor. At the moment, these people, along with the providers of angular development services are exploring the feedback shared in the RFC and ascertaining the future for Protractor. It’s one of the newest features introduced by Angular 12. The team chose to refrain from including it in new tasks. Instead, they want to furnish the alternatives with popular third-party solutions in the CLI of Angular. Currently, the team is working with TestCafe, WebdriverIO, and Cypress to assist the best providers of angular development services with elective solutions. More information will be available on this matter as the development procedure continues. 4
  • 5. 3. Shifting from legacy i18n message IDs At the moment, specialists are utilizing various legacy message-ID designs in the i18n framework. Now, these message-IDs are somewhat delicate because specific problems can emerge that depend on whitespace, the organizing formats, as well as the ICU expressions. The creators of Angular and the developer community are relocating away from them to fix this issue. The latest design of standard message-ID made it significantly tougher and more natural. It’s a unique configuration that can reduce the superfluous translation invalidation and associated retranslation expenses in applications where the translations don’t coordinate. 5
  • 6. 4. Styling enhancements With Angular 12, developers can make use of Components because they’ll get support for inline Sass in the styles field of the @Component decorator. Sass was already accessible from outside resources due to the Angular compiler. Now, you can authorize this component in every current application just by adding “scss” and “inlineStyleLanguage” to angular.json. It will also be accessible to new tasks using SCSS. Both Angular Material and Angular CDK adopted the new module framework of Sass internally. If your application uses Angular Material or Angular CDK, you have to make sure to change it from node-sass to the sass npm package. The node-sass package is now derelict and will no longer be aware of new additions to the features included in the Sass language. When it comes to updating an application to the latest version of Angular, it will change to the new API of Sass by refreshing the application with an ng update. Through this order, developers can re-factor any Sass @import expressions for Angular Material and Angular CDK code to the latest @use API. After all, both Angular Material and Angular CDK will unearth another Sass API surface designed to use with the new @use structure of the language. 6
  • 7. 5. Nullish coalescing Whenever you hire an angular developer, you’ll notice him/her using the nullish coalescing operator (??). It has been assisting developers with the task of writing cleaner code in TypeScript classes for quite some time. The main highlight of this feature, among several others, is that it lets a developer bring the power of nullish coalescing to the templates of Angular in the latest version. At the moment, in templates, developers can utilize the new syntax structure to augment the complex conditionals. 7 6. Community support The Angular team has been doing its job diligently in a bid to enhance the experience Angular has to offer to every user by adding to the structure. They are attempting to improve the learning experience of Angular for developers continuously. As part of the newest features introduced by Angular 12, the community rolled out several profound improvements to the documentation. They also managed to update the angular.io contributor’s guide that will support individuals aiming to augment the docs.
  • 8. 8 7. Support deprecation for IE11 You don’t have to hire an Angular developer to know that this framework is evergreen. Since the arrival of the first version of this framework, it has been on the same page with the advancements in web ecosystems. By eliminating support for legacy browsers, Angular specialists provide cutting-edge modern solutions and all-inclusive support to clients and developers. The creators of Angular also added a new deprecation warning message as another feature. Once Angular 13 will be ready for launch, they will eliminate support for IE11 entirely. 8. Production build Up until now, running the ng build command made improvements towards development builds. With the twelfth version of Angular, the ng build will go to a production build by default. In other words, it will support several groups to abstain from building and conveying development builds tragically to production environments.
  • 9. 9 9. Strict The earlier versions didn’t have it, but Angular 12 enabled the strict mode by default in the CLI as one of the features. This mode increases maintainability and assists developers in pinpointing bugs during the earliest stages of the process. Furthermore, the strict mode applications tend to be much simpler to examine statically and can enhance the security and accuracy if the ng update command refactor code while updating to the latest version of Angular. 10. New dev tools Within a few days after the release of the twelfth installment of Angular, the community reported the accessibility of Angular Dev Tools for Google Chrome. It’s possible to use the embedded profiler to preview and record the change-detection events. Developers can now monitor them to ensure which detection cycle and components took the longest time. Previously, the Angular community had to resort to semi-official Dev Tools that weren’t compatible with Ivy. Rest assured, it will be a win-win situation for everyone.
  • 10. 10 11. Typescript 4.2 Another one of the most noteworthy updates in the features of Angular 12 is the support for Typescript 4.2. The most stable version appeared on 23rd February. There are several exciting features and unique changes in this version. 12. Angular Universal One of the most significant improvements of the Angular 12 features in Inline critical CSS that’s by default in the nguniversal/common. Angular universal can now support proxy configuration in ssr-dev-server builder. The schematics also received updates to use defaultConfiguration. This version supports an SSR engine called “Clover,” along with a new engine that appears exceptionally promising. The ultimate purpose of this new engine is to simplify things to generate application shells without any extra builds. It can even remove the requirement for multiple builds for SSR/prerender.
  • 11. 11 Final considerations It’s safe to say that Angular 12 brought forth a pile of improvements to enhance performance, compiler, language service, form validation, and so much more. It’s also worth mentioning here that many more features need exploration. Time is the only thing that the developers need. Original Source: https://www.moontechnolabs.com/blog/angular-12-brought-several-new-features-to-the-table/