Angular
Angular 9 Part 1 - Getting Prepared

Migratations: Renderer and NgForm

PRO

Let's walk through two migrations we can do in version 8 before we upgrade to version 9:

✅ The first migration is ng-form.

✅ The second is to update any of our code that's using the depricated renderer. You'll simply change Renderer to Renderer2 and import the appropriate class. Also, instead of calling it setElementStyle, the name of the method is setStyle.