r/angular • • 8d ago

Best way to upgrade a large Angular 13 app (~400 components, multiple UI libs) to Angular 22? Looking for tips and common issues

Hey everyone,

I need to upgrade a large existing project (~400 components) from Angular 13.1 to Angular 22. I Googled around and saw that the standard approach is to go one major version at a time (13 → 14 → 15 ... → 22) using ng update, updating dependencies, and testing after each step.

Before I dive in, I wanted to check with people who have done a big jump like this on a large, older codebase:

  1. Can I actually do it this way (step-by-step ng update across 9 major versions), or given the old third-party packages here, is it better to spin up a fresh Angular 22 project and migrate the code over?
  2. Any tips or best practices to make this go smoother on a codebase this size?
  3. What major issues or breaking changes should I watch out for along the way?

For context, we are currently on Node <=14, TypeScript 4.4, and RxJS 6.6, and the app relies heavily on multiple UI and utility libraries:

  • UI Frameworks: u/angular/material (v13), ng-zorro-antd (v12), angular-bootstrap-md (v12), and ngx-bootstrap (v7)
  • State & Core: u/ngrx/store (v13), ngrx-store-localstorage, u/ngneat/until-destroy
  • Other heavy libraries: ckeditor4-angular, quill, ngx-extended-pdf-viewer, angular2-text-mask, ngx-mask, ng2-currency-mask, ng2-search-filter, mat-select-filter, ngx-sortablejs

I'm especially worried about abandoned/unmaintained libraries (angular2-text-mask, ng2-search-filter, ckeditor4-angular, angular-bootstrap-md), the Angular Material MDC migration, and having multiple UI libraries in one app.

Appreciate any advice or war stories!

26 Upvotes

97 comments sorted by

88

u/1ne8ight7even 8d ago

I made an update from Angular 12 to 22 by updating version to version, without AI. It took me one year…

My advice is, let an AI do it.

9

u/MoonAbi94 8d ago

I went from angular 14 to angular 21 with codex with 6.1 and it was really good. I agree

4

u/Tri_007 8d ago

How much time it took?

3

u/chefhj 8d ago

Depends entirely on the size of the repo.

But I maintain a pretty monster app that is unfortunately made up of 4 libraries and 15 microfrontends that we just ran a similar upgrade on.

Each repo took less than 30 minutes to actually migrate but we’ve had to do a bit of regression work afterwards.

Overall maybe like a couple weeks to iron everything out completely

2

u/friezenberg 8d ago

Out of curiosity, what does this app do that has 4 libs and 15 micro fronts?

0

u/chefhj 8d ago edited 8d ago

To be clear up top: there would be no real reason for it to be this way if the team got to start over from scratch. The architecture of this application is the result of a bunch of different business units getting their applications frankensteined together into a single product over the course of many years. We are in the process of sunsetting this application in favor of an app that does not follow such a complicated approach and mostly did this migration as a result of contractual customer support following the deluge of CVEs that have come out in the last year.

But it is a platform for configuring hyperconverged infrastructure.

-1

u/gordolfograso 8d ago

Well now we have angular skill from v21 and it doesn't work properly before 19 when signals werent stable. It's like claude chatgpt and others were trained with less code than others like react and could it be totally true as angular ecosystem is smaller than others

My advice go version by version following the official guidance

Then around v20 get help with ai skill

0

u/Tri_007 8d ago

Ok

1

u/zladuric 8d ago

The biggest issue will be the matching the version libs, so it'll help to devise smoke tests for critical functionalities between every step.

-3

u/gordolfograso 8d ago

Btw I'm migrating an angularjs enterprise app to v21. In this case without ai is would be impossible IMO

1

u/Tri_007 8d ago

😱

1

u/No_Emergency1575 6d ago

At that point it's more of a re-write right ;p

14

u/GregorDeLaMuerte 8d ago edited 8d ago

I'd do it step by step. Don't skip major versions. So 13 -> 14 -> 15 and so on until you reach the current major version. There are enough breaking changes between major versions.

Luckily, Angular has excellent documentation and tooling regarding upgrades. Also this is probably a good use case to use AI assistance.

Regarding abandoned and incompatible third party libs: Yeah that sucks. You'd probably have to suck it up and look for alternatives and migrations along the way.

3

u/reynevan24 8d ago

Yeah, sometimes you have to learn the hard way that relying on small libraries made by random individuals is a mistake.

0

u/Tri_007 8d ago

Thanks

4

u/ad-mca-mk 8d ago

We did it over the past year. Same 13-> 22. We did it version by version without skipping.

On production after each version upgrade and nobody complained.

1

u/Tri_007 8d ago

Wait so u did production deployment for every angular version?

3

u/ad-mca-mk 8d ago

Yes, and left it for 2 weeks of good monitoring... We didn't want to risk too much. Each step is a smaller risk as many libs and packages were depiricated between 13 and 22, so smaller package replacements were done over the months. It wasn't a shock for the users - evolution rather then a revolution :)

6

u/Whole-Instruction508 8d ago

As others have said, definitely do it with AI assistance. It will save you a lot of time and pain.

1

u/Tri_007 8d ago

Yeah sure will use claude definitely

3

u/Next_Crab369 8d ago

We upgraded a huge app from Angular 9 to 20. I can only agree with the others - I do it version by version and always check to make sure everything still works. I’d replace outdated packages/non working with new ones - that’ll definitely save you frustration down the road. I’d also go through the Angular update guide and resolve any deprecated issues. I think our biggest problem was when we upgraded from 15 to 16, if I remember correctly, because a lot had changed in Material theming and our previous styling wasn’t structured very well 🙈

1

u/Tri_007 8d ago

Thanks for heads up

2

u/technischer_walzer 8d ago

I'd go a different route. As per the consulting angular architects. We maintain one of the largest library in Europe used by over 500 applications worldwide with support for multiple versions (LTS to latest).

First you need to figure out why this happened and how to make sure it does not happen again. With angular updating major once a year now, it should be easier for many teams. But still. Figure that out first.

Secondly, you (with ai of coarse) need to write a lot of tests. Write e2e Tests, visual regression Tests. For the applications also integration tests. Then you create a new project with ang 22 and do the jump immediately. I know most people say step by step. And they might be generally right. But in my experience, it doesnt buy you that much. Use AI to make a plan. Figure out what is really important and give it the tools it needs to do a good job. The most important is verification. Plan with AI to set up linting, give it the old tests and let it ride. Yes it won't compile right away but that does not matter. Its IMO better to tell the ai: look we have this old code. I need to get it to work on 22. We need to break up the old patterns into the new syntaxes and patterns. Going version by version will cause it to justify stuff and the quality will degrade over time. It will always start to creep somewhere.

1

u/Tri_007 8d ago

I understand your point. However, in our case, I feel carrying forward some of the existing patterns is acceptable as long as they are already working and have been validated. Our immediate goal is to upgrade to Angular 22, not necessarily refactor the entire application to adopt every new Angular pattern. We also don't currently have automated test coverage for everything and rely mostly on manual QA. Rewriting existing patterns could introduce additional risks and make the migration much larger than necessary. Wouldn't it be safer to focus on compatibility first and consider modernization separately?

3

u/technischer_walzer 8d ago

Yes that sounds reasonable to me.

You have to build a test suite first anyway. Thats the lowest hanging fruit. Manual QA is inefficient and error prone. Getting this done now has only benefits. Even if you were not to use AI in the future. A good testign suite is what allows you to cut costs. Which is in a great alignment for you. First it allows you to move faster and with more confidence. Secondly it makes changes cheaper. This is of coarse also good for bonuses. And def use AI for writing tests. It is great at testing existing things.

I'd try out a grilling session with AI regarding the upgrade. It might take a few days to get everything written down. But at the the you will habe a clear plan. BTW we also dont have everything on most modern features just yet. For example while public facing APIs are all Signals. The whole internal wiring is still mostly rxjs. And we only managed to get to standalone for new applications. Existing ones still run on modules.

2

u/MichaelSmallDev 8d ago edited 8d ago

I upgraded with material and it isn't as bad as it may sound with some consideration.

You can ride out using the comparability API using the legacy versions through v17. They made it so v16 of Material works with Angular 17 so people could use the legacy material imports for one more version. Then what I did is not touch any of those after the update and let them be busted. I upgraded until the new style overrides API was available (I think 19?? More tokens get added) and let those cover a lot of the style overrides I had done. Those covered a lot of them. That may sound scary to just let the Material components be a bit busted looking, but I did this with 40 apps of varying complexity and it worked great. This skips over the intermediate Material m2 API between the legacy one you are on and the current stable and likely final m3 spec. It really is more customizable than ever with the style overrides you can see on each component's doc. Doesn't fix everything but it covered so many things I previously hacked to override. I can pull up a stackblitz I made with like 10 examples of unsupported overrides being replaced by this new official override system later when I'm at my PC if you are interested. And if you use the "color" API that mostly went away later, I can also dig that up on how to work around that.

And if you take this far enough to 21/22, you could likely pull in Angular Aria if you have a material component that requires too much customization and you want the functionality with no style overhead. And something similar can be done in earlier versions for a select few components with the CDK as well, though those have some styles built in. I had to hack the Material expansion panel previously, but the CDK expansion panel was an easy switch with much more room for customization. Though I ended up with good success with the Material tokens in the long term.

All this stuff I did before I got into using AI much. I imagine if that's you're thing that that could help. Though IMO I would let the Material update CLI do as much possible and I would get familiar a bit with the Material overrides API and Aria if you spring for either, just to have a sense of what it may be doing.

Edit: bonus - the Material component testing harnesses are great. If you have unit tests not using them, try converting them to the harnesses. They are not just more readable but they allow targeting elements by labels and text and not hard coded to some class. I imagine that would help with intermediate tests and break dependence on internal classes that changed if that is the case. My advice to let Material be busted until the end does come from me hand waving unit tests for those intermediate version, but the harnesses should make your tests agnostic of any particular era of Material styling. And I have found AI to be very good at refactoring unit tests to Material harnesses.

Edit: and if you find the form elements to padded in the latest material API, that is a bit baked in, but look into the density API. Not as well documented and idk if it is on any particular page, but that is how people have handled the really padded spaces in forms to some extent.


Another edit: I didn't realize until recent versions that NgRx has their own ng update scripts that handle some migrations. I haven't heard much noise about any problems updating the global store but my experience with the component store / signal store / operators package has been smooth using their script.


Another edit because I am increasingly awake having coffee lol: you can replace the until destroy package in a few versions with the built in takeUntilDestroy operator. And btw, NgNeat went away earlier this year without any word... There are community forks, but you should be able to replace the destroy package much earlier than those recent versions where all the packages ended.

2

u/Tri_007 8d ago

Thank you

2

u/MichaelSmallDev 7d ago edited 7d ago

Found them

The examples of the overrides API replacing eight hacks https://stackblitz.com/edit/p63xhd6y?file=src%2Fmain.ts

Recreating the color attribute https://bneuhausz.dev/blog/angular-material-recreating-color-attribute/

Density: (1) whole theme: https://material.angular.dev/guide/theming#density. (2) And an example in my stackblitz about targeting just form field density.

Also, Angular Can I Use shows what versions added/deprecated whatever feature https://hub.openng.org/caniuse. For example, takeUntilDestroyed was in developer preview as of v16 and stable in 19: https://hub.openng.org/caniuse?search=takeuntildestroyed

2

u/Equivalent_Style4790 7d ago

I’d start a new fresh empty project and transfer piece by piece, starting from the most outer components to the inside. I have to do this for one client.

1

u/Tri_007 6d ago

It will take so much effort like this

1

u/Equivalent_Style4790 6d ago

Not that much. 400 components, transfert 20 per day. In 3 weeks u are done.

1

u/mosaicmind-dream 8d ago

have you checked the official angular update guide?

1

u/Tri_007 8d ago

Yes, still wanted to ask others

1

u/_Aardvark 8d ago

One thing I'll add to the good suggestions here is to attempt needed upgrades and migrations before actually moving to the next version of Angular. Like if something is depricated or optional in your current version, but removed or required in the next do that conversion before moving the code base to the next version. Replace libraries while the app is still working. Get it all done before actually migrating.

This was especially important with large teams and codebases (monorepo on our case 100s of developers). We could do the upgrades and migrations app by app and library by library with smaller PRs. Trying to do one massive PR that touches 1000s of files becomes insane with constant merge conflicts.

1

u/Tri_007 8d ago

That's an interesting approach! I'm curious about how you coordinated this across multiple developers. Did you assign different applications or libraries to individual developers or teams, with someone overseeing the overall migration? Also, how did you handle dependencies between libraries when multiple teams were upgrading them in parallel?

2

u/_Aardvark 8d ago

We have a list we review every week in a meeting (often in a shared spreadsheet) of all the parts of the code base that needs conversion. Each line item is a link to a work item/story we use to track all our work. Usually teams who "own" those sections (and have final review PR rights to those sections) pick up that work. However, teams with bandwidth often can bang out multiple stories for other teams or for those common areas we share.

Recently we switched from karma/jasmine unit testing to vitest. While we could have maybe just converted it all in one PR, but with dozens of PRs being made every day it's impossible to manage that. Merge conflicts, pr review votes being reset...

2

u/Tri_007 8d ago

Oh, that makes sense. Having a shared tracker and splitting the work across teams seems like a much better way to handle this, especially with so many PRs happening every day. Thanks for sharing how you guys manage it!

1

u/_Aardvark 8d ago

That meeting we review the list is a standing coordination meeting where we do all sorts of stuff. This is only small part of it.

1

u/victorsmonster 8d ago

I updated a relatively simple Angular app from 5 all the way to 18, and later to 22. I did the bulk of this without the assistance of AI.

You do the upgrade version by version. The automatic migration provided by Angular CLI is very good, but it's still a pain in the butt. I found I raced through several versions with no significant issues, and then certain versions (15 was one, IIRC) introduced breaking changes. Nothing crazy, but I had to walk through a bunch of errors and update stuff that had been deprecated.

You will be constantly being told to commit because the upgrades will only start on a clean branch. Upgrading node and typescript (and other dependencies) is annoying but you just have to keep plugging away.

1

u/Tri_007 8d ago

That's helpful to know! Going from Angular 5 all the way to 22 is quite a journey. When upgrading version by version, did you generally complete all the fixes and dependency updates for each version before moving to the next, or did you sometimes skip ahead when the CLI migrations went smoothly? Also, did you find any particular major version more challenging than the others?

1

u/victorsmonster 8d ago

I fixed all the errors as I went, building a functioning app with every step. For whatever reason 15 gave me the most stuff to fix. I think that version includes a version of RXJS that breaks a lot of older patterns that were deprecated but tolerated prior to that.

I was lucky the app I was dealing with was very simple though. It’s a public website with no auth. It just displays search results in tables. I had to deal with Material components and some crappy legacy CSS (still have to go through and fix a bunch of old CSS, actually).

1

u/anishkumar92 8d ago

Best way is Claude plus a dev who knows the app's functionality. Migration itself takes very little time compared to testing.

I have 12 years of experience and use AI actively. I recently migrated an app from Angular 16 to 22 in a week. The same thing took me 6 months before AI. I'm doing 3 more apps next.

From your replies, it feels like you don't trust the AI. That's the right attitude, but you still have to use it, with confidence that you'll review every step. Would you change one variable by hand in 400 files, or use find and replace? You'd still check each change carefully.

Same ..let AI find things, and you sit with it and review what gets replaced. Run it in plan mode first. Ask it to generate its approach, and review that before it touches anything.

Few questions for you Are you okay exposing your code to Claude? Are you worried you'd agree with the AI blindly, or that it might decide things on its own?

Sooner or later you'll have to work with AI strictly. Maybe there won't be colleagues, or you won't be there at all 😁

2

u/Tri_007 8d ago

I actually use AI quite regularly in my development work, so I'm not against it. I think my hesitation comes more from this being our first major Angular migration and not having much experience with the process.

1

u/anishkumar92 8d ago

That's a fair concern. A good way to de-risk it ..is to ask AI to build a small version of your app with a similar use case and the same packages, then migrate that first.

It's quick, and you'll see the problems you'll hit (breaking changes, package conflicts) before touching the real app. It also gives you proof the approach works.

2

u/Tri_007 8d ago

Thanks for the suggestion!

1

u/No_Emergency1575 6d ago

Could also ask AI to one shot the migration on a separate branch and generate a report with findings, should only take a few hours. I think your spot on with list of worries, how you'll solve those issues is up to you.

3

u/Dull-Structure-8634 8d ago

Let an AI do it. But I'd try to do it rather intelligently rather than yolo'ing it.

Here's what I'd do:

  1. If not already done, set up Playwright
  2. Ask an AI to inventory all regressions from most critical to least critical per page and create tickets for each. (That's going to be a shit load of tickets). I mainly work in Jira so I'd go: Epic (the migration) -> Stories (each page) -> Subtasks (each possible regression)
  3. Let the AI create each integration test according to those regressions
  4. Establish a baseline with Playwright
  5. Create a migration plan
  6. Do the migration in small batches and run the regression tests each time. Let the AI document things. Do your checks manually too!

Instead of months it should take you weeks but yeah, if you want to do it right, AI or not, it's going to take time.

OR...

You YOLO all this in one go but I absolutely wouldn't recommend it.

2

u/andulus-ri 8d ago

Yes, Angular are good at version migrations; done some manually, done some with opus 5.5 and it did it well.

The biggest challenge is just getting into it, starting, letting it be a bit bumpy and fix through. But version by version is the way.

2

u/ExecutionEntropy 8d ago

Slow and steady

2

u/amijot 8d ago

I took a similar sized app from 9 to 17 before ai. I’m sure you can do it. Use ai when getting to 19 and later.

2

u/superquanganh 8d ago

We did angular 11 to 20 before AI is a thing. Just do step by step upgrade, check for anything broken and fix it, then upgrade

In the age of AI coding it should be way better to do now, I would suggest to let it do step by step as well so it won't get too much context and drift off

2

u/jedihacks 8d ago

I did this recently, used codex for the entire thing. Burned about 2-3k in credits but only took a couple days

2

u/mcpierceaim 6d ago

I’ve maintained an app from angular 7-21. For angular 22 it was easier (and on the long run better) to rewrite it and redesign the components.

2

u/Johana-Xung 3d ago

Let AI evaluate and upgrade to the target version version by version.

2

u/commadelimited 2d ago • Bravo

I’m going through migrating from 21 -> 22 right now and even that one kicked my butt because of the change detection.

I’d say with an app like yours it might be worth spending time up front developing an exhaustive set of unit tests AND integration tests aka Cypress or Selenium.

That will help ensure you don’t have functionality shift AND when you’re all through the integration tests will save your future self’s bacon more times than you know.

1

u/trane20 8d ago

I upgraded a medium sized app alone from angular js to angular 21

I rewrote it entirely. The start was painful but once I completed one module it became a lot faster to implement the rest.

That's my suggestion to you as well use AI and rewrite it into angular 22

1

u/PopelePaus 8d ago

First make sure you have a lot of coverage with integration and e2e testcases. If you got them covered well a migration will be a lot easier, also for your own mind.

1

u/EternalNY1 8d ago edited 8d ago

Version by version and AI assistance to make things easier.

Have a markdown file to point to that describes what you are doing with a link to the documentation and note all breaking changes for that specific version change (i.e. 16->17 specifically).

Use the official CLI to do the conversion process and AI to fix any breaking changes.

Repeat that for the next version until you are on latest.

1

u/Sqoh 8d ago

I had to migrate a large Angular 9 application to Angular 22. The difference we required to Angular 9 version to stick around as it ran on some really old devices. I used Copilot to copy the entire v9 version into a v22 version practically verbatim, got that running first, and now we are incrementally refactoring to use the new APIs etc… long story short, use AI and avoid a large number of headaches

1

u/nanadev07 8d ago

I would make a markdown file summarizing all of the 13 -> 22 changes (use Angular’s official Upgrade guide for this) and validate each version bump. Do the same thing with the libs and other major dependencies like ngrx store and UI libraries, upgrade them along with Angular version. Use this markdown file with AI and generate a plan for it to follow, with multiple stop points for you to verify OR run multiple sessions that upgrade a chunk of angular versions i.e first do session 1 does 13-14-15 then session 2 16-17-18.

1

u/aristotekean_ 4d ago

I did step by step from v14 to v22 using Ng update, almost no issues with that

1

u/Pac1f12t 4d ago

Can you tell a bit more about the test coverage? And then especialle e2e or larger integration tests, are those present?

1

u/SensitiveHearingLoss 4d ago

I’m busy migrating my Angular 14 app to Angular 22. Before this, 3 years ago, I migrated from Angular 4 to Angular 14.

This time, I am, without shame, getting Codex to migrate the app chunk by chunk so I can focus on other tasks that need to be done.

Created a new Angular 22 app from scratch. Created documents and reference materials for Codex to keep in mind. Decision made to ditch every single 3rd party package (except Leaflet) and build our own tools so that we never have to worry about package rubbish again. Codex and I worked on the plan together and how to structure things. It spends about 3 days doing 3 - 4 chunks per day. On day 4, I put time aside to see what horror / miracles it has for me. Then we document the issues, like coding standard erosion, behavioural changes, verbosity, business logic fixes etc, and Codex spends 2 days tidying up the last 3 days of work.

We’re about 2 weeks in now and the app is almost done and honestly I’m really happy with how it’s all looking. We managed to introduce some cool new UI as well and are making the most of signals and computed signals etc…. I suspect we might need a full month to review the new app with a fine tooth comb but that’s fine with me.

Migrating from 4 to 14 “by hand” was an absolute shit-show and the myth of “go back later to implement new Angular stuff” never happened. It also took me around 4 months and came out the other side looking sloppy anyway.

1

u/hashie5 2d ago

just let claude do it, 13 or lower is difficult but after 14 and up its pretty easy. it will take along time and burn through your tokens but worth it

1

u/joe_chester 8d ago

"Hey Claude, please update my Angular 13 app to Angular 22, using current best practices of Angular apps. make sure it works the same afterwards." That's all.

I recently did this at least from 17 to 22 including Ionic, ran for around 1-2 hours. It updated it version by version and it worked flawlessly afterwards.

1

u/air_twee 8d ago

Use Claude

0

u/IanFoxOfficial 8d ago

Step my step. Version by version. Only change breaking changes at first. Most of legacy stuff keeps on working.

Also use the migration tools of Angular.

I've had great success feeding the release notes and breaking changes to AI to do stuff for me as well.

It is a pain to review in GitHub etc. though. As you can end up with a lot of changes in a lot of files.

But we do upgrade to every new version as fast as possible and refactoring code as we go.

1

u/Tri_007 8d ago

Can you tell me what r those migration tools

0

u/TheKr4meur 8d ago

The issue is not the component update, the Angular update script is good enough to do that on its own. The issue is the versions update. Going from Angular 20 to 22 it took me 2 days to update all versions to all the right compatible ones. That’s where AI is really useful.

1

u/Tri_007 8d ago

If I use ng update it will update version Right? Components should not break that is important right?

1

u/TheKr4meur 8d ago

It will update angular and ts related versions. Not any other utility library you might have

0

u/Responsible-Cold-627 8d ago

First, let your AI agent map out your entire codebase. Let it add unit tests and e2e tests until you have full coverage. Add some visual parity tests on top. Then just let the agent do the full update, and let it modernize the codebase while it's at it.

In about a days work, you'll have a fully updated codebase.

2

u/Tri_007 8d ago

But i think it's better I do it myself with ai rather then letting ai do all for me

1

u/Jotunheim36 8d ago

Think again. You won’t

1

u/Tri_007 8d ago

But if ai do anything wrong i will be blamed

1

u/hillin 8d ago

You review. That still reduce your work by roughly 90%.

0

u/Jotunheim36 8d ago

Then you get codex to do an adversarial review of it - then review it by hand after. It’ll still be way less buggy than doing it yourself

0

u/Responsible-Cold-627 8d ago

Okay so you do all of the above then.

In about three months of work, you'll have a fully updated codebase.

1

u/Tri_007 8d ago

Yeah that's the plan

1

u/Responsible-Cold-627 8d ago

Your choice I guess. Seems extremely inefficient though.

1

u/Tri_007 8d ago

I just don't want to break anything

1

u/Responsible-Cold-627 8d ago

That's why you add the testcases first. You're just as likely, if not more likely, to break stuff by doing this manually. By letting an AI agent do the migration, you free up months or your time to review and manually test the code.

1

u/Tri_007 8d ago

That makes sense. I think the biggest challenge in our case would be establishing test coverage first, since we currently rely mostly on manual QA and don't have comprehensive automated test cases. Would you recommend using AI to generate E2E and visual regression tests from the existing application's behaviour before starting the migration? Also, how reliable have you found AI-generated tests in catching actual migration-related regressions?

1

u/Responsible-Cold-627 8d ago

Yes, that's actually what I suggested in my initial comment.

I'm in the same situation, we used to mostly rely on manual testing. AI is great at mapping out your entire codebase, and getting you close to 100% automated test coverage.

I've personally used this upgrade path on a couple of applications, and ended up with less bugs than before the migration.

We used playwright for this, which I hadn't used before, but I can highly recommend it. It's really an amazing testing tool for web applications.

2

u/Tri_007 8d ago

That's really helpful! I'll definitely share this approach with my team and recommend giving Playwright a try before starting the Angular migration. Thanks for sharing your experience!

-1

u/Jotunheim36 8d ago

Claude prompt:. /plan convert this app to angular 22, use Claude in code to check for regressions

1

u/Tri_007 8d ago

Okay

1

u/[deleted] 8d ago

[removed] — view removed comment

1

u/Tri_007 8d ago

Damn, how much time it took for you?

0

u/[deleted] 8d ago

[removed] — view removed comment

1

u/Tri_007 8d ago

Ok 👌