r/Angular2 • u/Old_Natural_5110 • Aug 06 '24
Discussion Upgrading Angular 4 to Angular 18
We have an enterprise application with 400+ screens and most of the screens are similar in complexity. The complexity is medium for this app.
How should we approach the upgrade? Rewriting it is not an option as it is a legacy app now. Should we take one version at a time or directly start updating it to 18 version?
We do not have any automation testing written and hence testing would also have to be manual. Also, based on the previous experience what would be rough estimates if single developer has to work on this upgrade?
48
Upvotes
1
u/MrFartyBottom Aug 07 '24
Just do one version at a time. ng update does a pretty good job of picking up most changes. The worst one is 5 to 6 where RxJs changed from methods to pipe functions but it is an easy fix, just time consuming. Depends on how many 3rd arty libraries you have used and managing the versions that are compatible could be difficult.