SlideShare a Scribd company logo
1 of 4
Download to read offline
Angular 11 – Everything You Need to Know
Angular version 11 is here and it has brought some great updates for the developers. From the
framework to the components and CLI – everything is updated. The Angular team tries to
bring some major changes with each update. For instance, iVY was released in Angular 9,
support for Typescript 3.8 was provided in Angular 9.1, and modifications in the Angular
Material UI component library was put forth in Angular 10. Today, we will explore the
features of Angular 11. Let’s dive in then.
Angular 11 – Features & Updates
The highlight of this version is stricter types, automatic inlining of fonts and router
performance improvements. The default automatic font inlining will be enabled for the apps
that are updated. The improved router performance ensures that the applications are made
faster. Apart from these, there’s more to Angular 11 which we will list below.
#Component Test Harnesses
In Angular version 9, the community introduced Component Test Harnesses. These provided
a robust API surface to assist in testing Angular Material components. It allows the developer
to interact with the components using the supported API.
In version 11, a component harness is available for each component. It comes with lots of
performance improvements, updates and even new APIs. Now, the parallel function makes it
easy to deal with async actions inside the tests as the developers can run multiple async
interactions with the components in parallel. For instance, a function of manual change
detection will give access to better control of detection simply by disabling auto change
detections inside the unit tests.
#Updated Hot Module Replacement Support
Hot Module Replacement or HMR is a mechanism that allows a replacement of the modules
without refreshing a full browser. This is an old concept but Angular 11 adds more to it.
Angular 11 offers support for HMR with required code changes and configurations. It allows
the CLI to enable HMR while initiating an app with ng serve. The following command is
required to get started with:
ng serve –hmr
Thus, the CLI command significantly reduces the amount of effort required to configure the
HMR. Once the developers insert this command, the console will display a message as soon
as the local server confirms that HMR is active.
During development, the latest changes to templates, styles and components will be
automatically updated into the running application. It doesn’t require a full page refresh,
which in turn, boosts the developers’ productivity.
#Updated Language Service Preview
The Angular Language Service offers various helpful tools that according to the professionals
at any website development company, ensure hassle-free web development. The updated
language service will provide a more accurate experience to the developers. They can check a
preview of how things will work with a better renderer and view engine. The language service
will be able to properly infer generic types in templates just as the TypeScript compiler does.
#Automatic Inlining of Fonts
Angular 11 offers automatic font inlining that helps to convert Google icons and fonts to
inline in the index HTML. During compiling, the Angular CLI will download and
consequently embed the inline fonts that are linked and used in the application. These are
enabled by default for configuration.
This is made default in the applications built with version 11. Therefore, in order to leverage
the advantage of this optimization, the developers have to update the app first.
#Webpack 5 Support
Webpack is used for compiling lots of files into a single small file or bundle. Its latest version
– Webpack 5 is released a few months back.
Angular 11 offers experimental support for webpack 5 and the developers can use it to try out
new things. The Angular team may extend the experimental support to achieve smaller
bundles and faster builds once the webpack becomes more stable.
Here’s the command for using webpack 5. Add the following lines to the package.json file:
“resolutions”: {
“webpack”: “5.4.0”
}
#Shift to ESLint
TSLint has been one of the most popular listing tools used and recommended by the
providers of Angular development services. Recently, the duty is handed over to ESLint.
With Angular 11, Codelyzer and TSLint are officially deprecated and they will be removed in
future versions. The latest version has introduced a 3-step method for migrating from TSLint
to ESLint:
Step 1 – Run ng add @angular-eslint/schematics
Step 2 – Now, run the command ng g @angular/schematics:convert-tslint-to-eslint {{YOUR
PROJECT NAME}}
Step 3 – Remove the root-level tslint.json.
#Faster Builds
Angular 11 brings forth radical speed improvements. The process of NGCC update is now 2-4x
faster than earlier. Therefore, the developers need not spend a long time waiting for
completing builds and rebuilds.
#TypeScript 4.0 Support
Angular 11 supports TypeScript 4.0. The support for TypeScript 3.9 has now been dropped.
One of the primary reasons behind this is to enhance the speed of builds. The latest version
ensures faster and smoother builds than the previous versions.
#Better Logging and Reporting
The latest Angular version has brought various changes to the builder phase reporting that
make it more helpful during development. The CLI output includes more user-friendly and
readable information.
#Other Changes
Apart from the ones mentioned above, the latest Angular version brings several other
changes like:
 Service worker improvements
 New automated schematics and migrations
 Lazy loading support for various named outlets
 The support for Internet Explorer 9,10 and IE mobile support is entirely removed
 preserveQueryParams is removed in the router. Instead, the developers can
use queryParamsHandling=”preserve”
 Stricter types are now built in pipes
 Angular CLI can generate resolve guards
 The formatDate function supports ISO 8601 week-numbering year formatting
 Expressions within the ICUs are now type-checked again
 The async pipe does no more return undefined for any input that has been typed as
undefined.
How to Update to Angular 11
You can hire Angular developers to update your application to Angular 11. The developers
need to run the following command:
ng update @angular/cli @angular/core
Found the article useful? Share with your acquaintances and let them know all about Angular
11.
Resource: https://www.webguru-india.com/blog/angular-11-everything-you-need-to-know/
………………………………………………………………………………………………………
WebGuru Infosystems
Y8, Block-EP, Sector V, Salt Lake
Kolkata-700091, India
Website: https://www.webguru-india.com/
Email: enquiry@webguru-india.com
Phone: +91-8420197208
Follow us on:

More Related Content

What's hot

MuleSoft Surat Virtual Meetup#21 - MuleSoft API and RAML Design Best Practice...
MuleSoft Surat Virtual Meetup#21 - MuleSoft API and RAML Design Best Practice...MuleSoft Surat Virtual Meetup#21 - MuleSoft API and RAML Design Best Practice...
MuleSoft Surat Virtual Meetup#21 - MuleSoft API and RAML Design Best Practice...Jitendra Bafna
 
Eclipse RCP Overview @ Rheinjug
Eclipse RCP Overview @ RheinjugEclipse RCP Overview @ Rheinjug
Eclipse RCP Overview @ RheinjugLars Vogel
 
Rational Rhapsody Workflow Integration with Visual Studio
Rational Rhapsody Workflow Integration with Visual Studio Rational Rhapsody Workflow Integration with Visual Studio
Rational Rhapsody Workflow Integration with Visual Studio Frank Braun
 
Build pipelines with TeamCity and Kotlin DSL
Build pipelines with TeamCity and Kotlin DSLBuild pipelines with TeamCity and Kotlin DSL
Build pipelines with TeamCity and Kotlin DSLAnton Arhipov
 
Session on API auto scaling, monitoring and Log management
Session on API auto scaling, monitoring and Log managementSession on API auto scaling, monitoring and Log management
Session on API auto scaling, monitoring and Log managementpqrs1234
 
Quality sdk for your apis in minutes!
Quality sdk for your apis in minutes!Quality sdk for your apis in minutes!
Quality sdk for your apis in minutes!Son Nguyen
 
Rich Ajax Platform - Programming for Web and Rich Client
Rich Ajax Platform - Programming for Web and Rich ClientRich Ajax Platform - Programming for Web and Rich Client
Rich Ajax Platform - Programming for Web and Rich ClientFabian Lange
 
Puppet Integration Adapter - Datasheet
Puppet Integration Adapter - DatasheetPuppet Integration Adapter - Datasheet
Puppet Integration Adapter - DatasheetKovair
 
Windows 10 UWP tips and tricks for developers
Windows 10 UWP tips and tricks for developersWindows 10 UWP tips and tricks for developers
Windows 10 UWP tips and tricks for developersDarius Pauliukevičius
 
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 modificationsShelly Megan
 
Agility in minutes with APIs and Microservices
Agility in minutes with APIs and MicroservicesAgility in minutes with APIs and Microservices
Agility in minutes with APIs and MicroservicesAxway
 
IMPROVE YOUR WEBSITE PERFORMANCE WITH ANGULAR JS2
IMPROVE YOUR WEBSITE PERFORMANCE WITH ANGULAR JS2IMPROVE YOUR WEBSITE PERFORMANCE WITH ANGULAR JS2
IMPROVE YOUR WEBSITE PERFORMANCE WITH ANGULAR JS2Paul Cook
 
RAML BASED REST API with Mulesoft anypoint
RAML BASED REST API with Mulesoft anypointRAML BASED REST API with Mulesoft anypoint
RAML BASED REST API with Mulesoft anypointakshay yeluru
 

What's hot (20)

MuleSoft Surat Virtual Meetup#21 - MuleSoft API and RAML Design Best Practice...
MuleSoft Surat Virtual Meetup#21 - MuleSoft API and RAML Design Best Practice...MuleSoft Surat Virtual Meetup#21 - MuleSoft API and RAML Design Best Practice...
MuleSoft Surat Virtual Meetup#21 - MuleSoft API and RAML Design Best Practice...
 
Eclipse RCP Overview @ Rheinjug
Eclipse RCP Overview @ RheinjugEclipse RCP Overview @ Rheinjug
Eclipse RCP Overview @ Rheinjug
 
Rational Rhapsody Workflow Integration with Visual Studio
Rational Rhapsody Workflow Integration with Visual Studio Rational Rhapsody Workflow Integration with Visual Studio
Rational Rhapsody Workflow Integration with Visual Studio
 
Build pipelines with TeamCity and Kotlin DSL
Build pipelines with TeamCity and Kotlin DSLBuild pipelines with TeamCity and Kotlin DSL
Build pipelines with TeamCity and Kotlin DSL
 
Session on API auto scaling, monitoring and Log management
Session on API auto scaling, monitoring and Log managementSession on API auto scaling, monitoring and Log management
Session on API auto scaling, monitoring and Log management
 
Quality sdk for your apis in minutes!
Quality sdk for your apis in minutes!Quality sdk for your apis in minutes!
Quality sdk for your apis in minutes!
 
Rich Ajax Platform - Programming for Web and Rich Client
Rich Ajax Platform - Programming for Web and Rich ClientRich Ajax Platform - Programming for Web and Rich Client
Rich Ajax Platform - Programming for Web and Rich Client
 
Puppet Integration Adapter - Datasheet
Puppet Integration Adapter - DatasheetPuppet Integration Adapter - Datasheet
Puppet Integration Adapter - Datasheet
 
Windows 10 UWP tips and tricks for developers
Windows 10 UWP tips and tricks for developersWindows 10 UWP tips and tricks for developers
Windows 10 UWP tips and tricks for developers
 
Quantum API 1.1 proposal
Quantum API 1.1 proposalQuantum API 1.1 proposal
Quantum API 1.1 proposal
 
Mule
MuleMule
Mule
 
Apimanagement
ApimanagementApimanagement
Apimanagement
 
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
 
THE FUTURE OF ANGULAR JS
THE FUTURE OF ANGULAR JSTHE FUTURE OF ANGULAR JS
THE FUTURE OF ANGULAR JS
 
Agility in minutes with APIs and Microservices
Agility in minutes with APIs and MicroservicesAgility in minutes with APIs and Microservices
Agility in minutes with APIs and Microservices
 
Presentation
PresentationPresentation
Presentation
 
Best way to Deploy a Mule ESB Application
Best way to Deploy a Mule ESB ApplicationBest way to Deploy a Mule ESB Application
Best way to Deploy a Mule ESB Application
 
Eclipse and API tooling
Eclipse and API toolingEclipse and API tooling
Eclipse and API tooling
 
IMPROVE YOUR WEBSITE PERFORMANCE WITH ANGULAR JS2
IMPROVE YOUR WEBSITE PERFORMANCE WITH ANGULAR JS2IMPROVE YOUR WEBSITE PERFORMANCE WITH ANGULAR JS2
IMPROVE YOUR WEBSITE PERFORMANCE WITH ANGULAR JS2
 
RAML BASED REST API with Mulesoft anypoint
RAML BASED REST API with Mulesoft anypointRAML BASED REST API with Mulesoft anypoint
RAML BASED REST API with Mulesoft anypoint
 

Similar to Angular 11 – everything you need to know

Angular11 exciting new features and updates
Angular11 exciting new features and updatesAngular11 exciting new features and updates
Angular11 exciting new features and updatesShelly Megan
 
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 Knowsimonedaniels3
 
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 KnowAndolasoft Inc
 
Angularjs Development Company USA
Angularjs Development Company USA Angularjs Development Company USA
Angularjs Development Company USA Shelly Megan
 
Angular 12 brought several new features to the table
Angular 12 brought several new features to the tableAngular 12 brought several new features to the table
Angular 12 brought several new features to the tableMoon Technolabs Pvt. Ltd.
 
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...Moon Technolabs Pvt. Ltd.
 
Top Features of Angular 13
Top Features of Angular 13Top Features of Angular 13
Top Features of Angular 13Marie Weaver
 
Best Angular 17 Classroom & Online training - Naresh IT
Best Angular 17 Classroom & Online training - Naresh ITBest Angular 17 Classroom & Online training - Naresh IT
Best Angular 17 Classroom & Online training - Naresh ITmanoharjgpsolutions
 
Angular version 10 is here check out the new features, notable changes, depr...
Angular version 10 is here  check out the new features, notable changes, depr...Angular version 10 is here  check out the new features, notable changes, depr...
Angular version 10 is here check out the new features, notable changes, depr...Katy Slemon
 
The new features of angular 12
The new features of angular 12The new features of angular 12
The new features of angular 12Zobi Web Solutions
 
_Angular Latest Version of 2022 With Features and Installation Guide.pdf
_Angular Latest Version of 2022 With Features and Installation Guide.pdf_Angular Latest Version of 2022 With Features and Installation Guide.pdf
_Angular Latest Version of 2022 With Features and Installation Guide.pdfAlzenaLimon
 
revolutionizing-development-a-deep-dive-into-angular-v17-renaissance.pdf
revolutionizing-development-a-deep-dive-into-angular-v17-renaissance.pdfrevolutionizing-development-a-deep-dive-into-angular-v17-renaissance.pdf
revolutionizing-development-a-deep-dive-into-angular-v17-renaissance.pdfRobertThorson2
 
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!Helios Solutions
 
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!Shelly Megan
 

Similar to Angular 11 – everything you need to know (20)

Angular11 exciting new features and updates
Angular11 exciting new features and updatesAngular11 exciting new features and updates
Angular11 exciting new features and updates
 
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
 
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
 
Angularjs Development Company USA
Angularjs Development Company USA Angularjs Development Company USA
Angularjs Development Company USA
 
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
 
Angular 12 brought several new features to the table
Angular 12 brought several new features to the tableAngular 12 brought several new features to the table
Angular 12 brought several new features to the table
 
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...
 
What are The Top Features of Angular 7?
What are The Top Features of Angular 7?What are The Top Features of Angular 7?
What are The Top Features of Angular 7?
 
Top Features of Angular 13
Top Features of Angular 13Top Features of Angular 13
Top Features of Angular 13
 
Best Angular 17 Classroom & Online training - Naresh IT
Best Angular 17 Classroom & Online training - Naresh ITBest Angular 17 Classroom & Online training - Naresh IT
Best Angular 17 Classroom & Online training - Naresh IT
 
Angular version 10 is here check out the new features, notable changes, depr...
Angular version 10 is here  check out the new features, notable changes, depr...Angular version 10 is here  check out the new features, notable changes, depr...
Angular version 10 is here check out the new features, notable changes, depr...
 
The new features of angular 12
The new features of angular 12The new features of angular 12
The new features of angular 12
 
What is Angular Ivy?
What is Angular Ivy?What is Angular Ivy?
What is Angular Ivy?
 
_Angular Latest Version of 2022 With Features and Installation Guide.pdf
_Angular Latest Version of 2022 With Features and Installation Guide.pdf_Angular Latest Version of 2022 With Features and Installation Guide.pdf
_Angular Latest Version of 2022 With Features and Installation Guide.pdf
 
Angular
AngularAngular
Angular
 
revolutionizing-development-a-deep-dive-into-angular-v17-renaissance.pdf
revolutionizing-development-a-deep-dive-into-angular-v17-renaissance.pdfrevolutionizing-development-a-deep-dive-into-angular-v17-renaissance.pdf
revolutionizing-development-a-deep-dive-into-angular-v17-renaissance.pdf
 
What’s New in Angular 15.pptx
What’s New in Angular 15.pptxWhat’s New in Angular 15.pptx
What’s New in Angular 15.pptx
 
What’s New in Angular 14?
What’s New in Angular 14?What’s New in Angular 14?
What’s New in Angular 14?
 
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!
 
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!
 

More from WebGuru Infosystems Pvt. Ltd.

Top Benefits Of Having A Mobile App For Food Delivery Services.pdf
Top Benefits Of Having A Mobile App For Food Delivery Services.pdfTop Benefits Of Having A Mobile App For Food Delivery Services.pdf
Top Benefits Of Having A Mobile App For Food Delivery Services.pdfWebGuru Infosystems Pvt. Ltd.
 
How To Use AI Chatbots To Improve Your Customer Experience.pdf
How To Use AI Chatbots To Improve Your Customer Experience.pdfHow To Use AI Chatbots To Improve Your Customer Experience.pdf
How To Use AI Chatbots To Improve Your Customer Experience.pdfWebGuru Infosystems Pvt. Ltd.
 
How Mobile Apps Can Help Businesses Ensure Customer Loyalty
How Mobile Apps Can Help Businesses Ensure Customer LoyaltyHow Mobile Apps Can Help Businesses Ensure Customer Loyalty
How Mobile Apps Can Help Businesses Ensure Customer LoyaltyWebGuru Infosystems Pvt. Ltd.
 
Mastering Threads for Business and Digital Marketing
Mastering Threads for Business and Digital Marketing  Mastering Threads for Business and Digital Marketing
Mastering Threads for Business and Digital Marketing WebGuru Infosystems Pvt. Ltd.
 
From Blue Bird to White X: Twitter's Rebranding and Marketing Shift
From Blue Bird to White X: Twitter's Rebranding and Marketing ShiftFrom Blue Bird to White X: Twitter's Rebranding and Marketing Shift
From Blue Bird to White X: Twitter's Rebranding and Marketing ShiftWebGuru Infosystems Pvt. Ltd.
 
Why Is Mobile App Automation Crucial for Your Business?
Why Is Mobile App Automation Crucial for Your Business?Why Is Mobile App Automation Crucial for Your Business?
Why Is Mobile App Automation Crucial for Your Business?WebGuru Infosystems Pvt. Ltd.
 
How Small Businesses Can Use Digital Marketing to Grow
How Small Businesses Can Use Digital Marketing to GrowHow Small Businesses Can Use Digital Marketing to Grow
How Small Businesses Can Use Digital Marketing to GrowWebGuru Infosystems Pvt. Ltd.
 
Saving Money on Website Development Expert Insights.pdf
Saving Money on Website Development Expert Insights.pdfSaving Money on Website Development Expert Insights.pdf
Saving Money on Website Development Expert Insights.pdfWebGuru Infosystems Pvt. Ltd.
 
Key Parameters For A Successful Digital Marketing Campaign.pdf
Key Parameters For A Successful Digital Marketing Campaign.pdfKey Parameters For A Successful Digital Marketing Campaign.pdf
Key Parameters For A Successful Digital Marketing Campaign.pdfWebGuru Infosystems Pvt. Ltd.
 
Mobile App UI/UX Design Trends to Flourish in 2021 and Beyond.pdf
Mobile App UI/UX Design Trends to Flourish in 2021 and Beyond.pdfMobile App UI/UX Design Trends to Flourish in 2021 and Beyond.pdf
Mobile App UI/UX Design Trends to Flourish in 2021 and Beyond.pdfWebGuru Infosystems Pvt. Ltd.
 

More from WebGuru Infosystems Pvt. Ltd. (20)

A Guide to AI-powered Lead Generation Strategies
A Guide to AI-powered Lead Generation StrategiesA Guide to AI-powered Lead Generation Strategies
A Guide to AI-powered Lead Generation Strategies
 
Top Benefits Of Having A Mobile App For Food Delivery Services.pdf
Top Benefits Of Having A Mobile App For Food Delivery Services.pdfTop Benefits Of Having A Mobile App For Food Delivery Services.pdf
Top Benefits Of Having A Mobile App For Food Delivery Services.pdf
 
How To Use AI Chatbots To Improve Your Customer Experience.pdf
How To Use AI Chatbots To Improve Your Customer Experience.pdfHow To Use AI Chatbots To Improve Your Customer Experience.pdf
How To Use AI Chatbots To Improve Your Customer Experience.pdf
 
How Mobile Apps Can Help Businesses Ensure Customer Loyalty
How Mobile Apps Can Help Businesses Ensure Customer LoyaltyHow Mobile Apps Can Help Businesses Ensure Customer Loyalty
How Mobile Apps Can Help Businesses Ensure Customer Loyalty
 
Mastering Threads for Business and Digital Marketing
Mastering Threads for Business and Digital Marketing  Mastering Threads for Business and Digital Marketing
Mastering Threads for Business and Digital Marketing
 
From Blue Bird to White X: Twitter's Rebranding and Marketing Shift
From Blue Bird to White X: Twitter's Rebranding and Marketing ShiftFrom Blue Bird to White X: Twitter's Rebranding and Marketing Shift
From Blue Bird to White X: Twitter's Rebranding and Marketing Shift
 
Web Design and SEO: How They Are Linked
Web Design and SEO: How They Are LinkedWeb Design and SEO: How They Are Linked
Web Design and SEO: How They Are Linked
 
Why Is Mobile App Automation Crucial for Your Business?
Why Is Mobile App Automation Crucial for Your Business?Why Is Mobile App Automation Crucial for Your Business?
Why Is Mobile App Automation Crucial for Your Business?
 
Strategies for Dominating Search Rankings in 2023
Strategies for Dominating Search Rankings in 2023Strategies for Dominating Search Rankings in 2023
Strategies for Dominating Search Rankings in 2023
 
Top Apps for Enhanced Business Productivity
Top Apps for Enhanced Business ProductivityTop Apps for Enhanced Business Productivity
Top Apps for Enhanced Business Productivity
 
How Small Businesses Can Use Digital Marketing to Grow
How Small Businesses Can Use Digital Marketing to GrowHow Small Businesses Can Use Digital Marketing to Grow
How Small Businesses Can Use Digital Marketing to Grow
 
Saving Money on Website Development Expert Insights.pdf
Saving Money on Website Development Expert Insights.pdfSaving Money on Website Development Expert Insights.pdf
Saving Money on Website Development Expert Insights.pdf
 
Understanding The World Of SSL Certificates.pdf
Understanding The World Of SSL Certificates.pdfUnderstanding The World Of SSL Certificates.pdf
Understanding The World Of SSL Certificates.pdf
 
Website Security: A Guide to Defending Your Website
Website Security: A Guide to Defending Your WebsiteWebsite Security: A Guide to Defending Your Website
Website Security: A Guide to Defending Your Website
 
How to Make a PWA Search Engine Friendly.pdf
How to Make a PWA Search Engine Friendly.pdfHow to Make a PWA Search Engine Friendly.pdf
How to Make a PWA Search Engine Friendly.pdf
 
Key Parameters For A Successful Digital Marketing Campaign.pdf
Key Parameters For A Successful Digital Marketing Campaign.pdfKey Parameters For A Successful Digital Marketing Campaign.pdf
Key Parameters For A Successful Digital Marketing Campaign.pdf
 
Is OpenCart a Good Choice for eCommerce?
Is OpenCart a Good Choice for eCommerce?Is OpenCart a Good Choice for eCommerce?
Is OpenCart a Good Choice for eCommerce?
 
12 Modern Logo Design Trends For 2023.pdf
12 Modern Logo Design Trends For 2023.pdf12 Modern Logo Design Trends For 2023.pdf
12 Modern Logo Design Trends For 2023.pdf
 
Mobile App UI/UX Design Trends to Flourish in 2021 and Beyond.pdf
Mobile App UI/UX Design Trends to Flourish in 2021 and Beyond.pdfMobile App UI/UX Design Trends to Flourish in 2021 and Beyond.pdf
Mobile App UI/UX Design Trends to Flourish in 2021 and Beyond.pdf
 
Flutter for Web - A Comprehensive Outline.pdf
Flutter for Web - A Comprehensive Outline.pdfFlutter for Web - A Comprehensive Outline.pdf
Flutter for Web - A Comprehensive Outline.pdf
 

Recently uploaded

TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
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...Jeffrey Haguewood
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusZilliz
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
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 FMESafe Software
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...apidays
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
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 TerraformAndrey Devyatkin
 

Recently uploaded (20)

TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
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...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
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
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
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
 

Angular 11 – everything you need to know

  • 1. Angular 11 – Everything You Need to Know Angular version 11 is here and it has brought some great updates for the developers. From the framework to the components and CLI – everything is updated. The Angular team tries to bring some major changes with each update. For instance, iVY was released in Angular 9, support for Typescript 3.8 was provided in Angular 9.1, and modifications in the Angular Material UI component library was put forth in Angular 10. Today, we will explore the features of Angular 11. Let’s dive in then. Angular 11 – Features & Updates The highlight of this version is stricter types, automatic inlining of fonts and router performance improvements. The default automatic font inlining will be enabled for the apps that are updated. The improved router performance ensures that the applications are made faster. Apart from these, there’s more to Angular 11 which we will list below.
  • 2. #Component Test Harnesses In Angular version 9, the community introduced Component Test Harnesses. These provided a robust API surface to assist in testing Angular Material components. It allows the developer to interact with the components using the supported API. In version 11, a component harness is available for each component. It comes with lots of performance improvements, updates and even new APIs. Now, the parallel function makes it easy to deal with async actions inside the tests as the developers can run multiple async interactions with the components in parallel. For instance, a function of manual change detection will give access to better control of detection simply by disabling auto change detections inside the unit tests. #Updated Hot Module Replacement Support Hot Module Replacement or HMR is a mechanism that allows a replacement of the modules without refreshing a full browser. This is an old concept but Angular 11 adds more to it. Angular 11 offers support for HMR with required code changes and configurations. It allows the CLI to enable HMR while initiating an app with ng serve. The following command is required to get started with: ng serve –hmr Thus, the CLI command significantly reduces the amount of effort required to configure the HMR. Once the developers insert this command, the console will display a message as soon as the local server confirms that HMR is active. During development, the latest changes to templates, styles and components will be automatically updated into the running application. It doesn’t require a full page refresh, which in turn, boosts the developers’ productivity. #Updated Language Service Preview The Angular Language Service offers various helpful tools that according to the professionals at any website development company, ensure hassle-free web development. The updated language service will provide a more accurate experience to the developers. They can check a preview of how things will work with a better renderer and view engine. The language service will be able to properly infer generic types in templates just as the TypeScript compiler does. #Automatic Inlining of Fonts Angular 11 offers automatic font inlining that helps to convert Google icons and fonts to inline in the index HTML. During compiling, the Angular CLI will download and consequently embed the inline fonts that are linked and used in the application. These are enabled by default for configuration. This is made default in the applications built with version 11. Therefore, in order to leverage the advantage of this optimization, the developers have to update the app first.
  • 3. #Webpack 5 Support Webpack is used for compiling lots of files into a single small file or bundle. Its latest version – Webpack 5 is released a few months back. Angular 11 offers experimental support for webpack 5 and the developers can use it to try out new things. The Angular team may extend the experimental support to achieve smaller bundles and faster builds once the webpack becomes more stable. Here’s the command for using webpack 5. Add the following lines to the package.json file: “resolutions”: { “webpack”: “5.4.0” } #Shift to ESLint TSLint has been one of the most popular listing tools used and recommended by the providers of Angular development services. Recently, the duty is handed over to ESLint. With Angular 11, Codelyzer and TSLint are officially deprecated and they will be removed in future versions. The latest version has introduced a 3-step method for migrating from TSLint to ESLint: Step 1 – Run ng add @angular-eslint/schematics Step 2 – Now, run the command ng g @angular/schematics:convert-tslint-to-eslint {{YOUR PROJECT NAME}} Step 3 – Remove the root-level tslint.json. #Faster Builds Angular 11 brings forth radical speed improvements. The process of NGCC update is now 2-4x faster than earlier. Therefore, the developers need not spend a long time waiting for completing builds and rebuilds. #TypeScript 4.0 Support Angular 11 supports TypeScript 4.0. The support for TypeScript 3.9 has now been dropped. One of the primary reasons behind this is to enhance the speed of builds. The latest version ensures faster and smoother builds than the previous versions. #Better Logging and Reporting The latest Angular version has brought various changes to the builder phase reporting that make it more helpful during development. The CLI output includes more user-friendly and readable information. #Other Changes
  • 4. Apart from the ones mentioned above, the latest Angular version brings several other changes like:  Service worker improvements  New automated schematics and migrations  Lazy loading support for various named outlets  The support for Internet Explorer 9,10 and IE mobile support is entirely removed  preserveQueryParams is removed in the router. Instead, the developers can use queryParamsHandling=”preserve”  Stricter types are now built in pipes  Angular CLI can generate resolve guards  The formatDate function supports ISO 8601 week-numbering year formatting  Expressions within the ICUs are now type-checked again  The async pipe does no more return undefined for any input that has been typed as undefined. How to Update to Angular 11 You can hire Angular developers to update your application to Angular 11. The developers need to run the following command: ng update @angular/cli @angular/core Found the article useful? Share with your acquaintances and let them know all about Angular 11. Resource: https://www.webguru-india.com/blog/angular-11-everything-you-need-to-know/ ……………………………………………………………………………………………………… WebGuru Infosystems Y8, Block-EP, Sector V, Salt Lake Kolkata-700091, India Website: https://www.webguru-india.com/ Email: enquiry@webguru-india.com Phone: +91-8420197208 Follow us on: