Reputation: 517
I have recently started on a project that is on Angular 2.0.0-rc.4 For some reason it was not upgraded in time. I don't find enough help online.
What would be the best approach to upgrade this kind of project. I was think of doing it in increments RC4 to RC5 (because there is some help on this), then 2 final and then 4.
Ultimate goal is to upgrade to latest Angular version. Any links or docs would be highly appreciated.
Upvotes: 1
Views: 126
Reputation: 8078
I'm unaware of a painless way to do this. Incrementing RC4, RC5, 2 and 4 would take a lot of wasted time, I think, because the same thing may have changed twice.
I've faced situations like this a couple times (in fact I am right now, migrating an old project from old C++ to C++17), so the only honest advice I can give is what I do. For your Angular project, it would be:
Unless you have unusual component interactions, this process should be fairly manageable, but potentially tedious if you have many components.
Also, to keep it up to latest version, you should go to Angular 5, not 4.
Upvotes: 1
Reputation: 12922
Have you tried the upgrade tool? https://angular-update-guide.firebaseapp.com/
Upvotes: 0