In this guide, we’ll learn how to upgrade our project to the latest Angular 10 version and update the dependencies.
We have two scenerios:
You have an Angular 8 project and want to update to Angular 10
You have an Angular 9 project and want to update to Angular 10
Before we can start upgrading your project to Angular 10 from v8, you first need to update it to the latest patch version of Angular 9.
You also need to make sure you do the following changes in your code when appropriate:
Swap NgForm selector.
Change @ContentChild and @ContentChildren hosts.
Remove assigned values to template-only variables.
Remove the Renderer directive and replace it with Renderer2.
Remember this for your Angular 8 project before updating to Angular 9.
#angular #web-development