I followed almost all of the events around the Angular 9 release. After reading the Angular 9 cheatsheet, reading the Angular next docs, and watchi...
For further actions, you may consider blocking this person and/or reporting abuse
I've seen quite a few errors when upgrading. Like you mention in the article, we should always remember to use
ng updatewhen upgrading as well as following the migration guide.If you experience any non-trivial errors, get in touch with me.
If you take a look at the video "Angular 9: Getting Ready To Update to Angular 9" from the references, they talk about everything that changed, I would recommend it as a good point of start. Anyway, as you just said, it can be hard in some projects even using
ng updateand following the migration guide.It's can be much complicated than that. If you use a bunch of libraries on your project you need to test (at least read how the library goes with Angular 9) in order to take that decision. But if not you can do it based on what you show in this article :P
The Angular Team did their best to make it easier for us. Sadly there's no way to ensure that ALL projects will be equally easy. I've updated 1 project from Angular 8 to 9 successfully with no issues.
Nevertheless, I have friends struggling for their upgrade and that's why I said "In some cases, it's as simple as running ng update @angular/core @angular/cli" instead of "It's always as simple as running ng update @angular/core @angular/cli" (:
Yup, but anyway it's a good idea encouraging people to use the new version and I want to thank you for that, cause in the end any thing done could improve the actual version.
what made angular team move from ts-lint to es-lint
Going back to that statement I noticed I wasn't clear enough.
The Typescript team has in their roadmap improving compatibility with
es-lint, once done, is very likely thatts-lintwill disappear.Given that
es-lintis currently very slow in big Typescript apps, which is the common use case for Angular, the Angular Team decided to keep usingts-lintfor now. I think it's a good idea to have in mind.ok, thank you