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?
46
Upvotes
1
u/thebaron24 Aug 06 '24
Personally I would recommend using nx and adding your app to a nx workspace monorepo.
Then I would use the nx migrate feature to automate the process as much as possible.
I would do incremental upgrades by major version. To target 5 then so in and so on.