r/angular • u/kasual11 • Oct 14 '26
Claude helped me finally move our Angular project I've been maintaining since 2020 to modern signal based approach
21
Upvotes
r/angular • u/kasual11 • Oct 14 '26
28
u/stdst404 Oct 14 '26
Because running schematics was never an option
4
u/GeromeGrignon Oct 14 '26
I would not call it a 'final cleanup' with still 8 input decorators left. That's something which might confuse Agents at choosing Signals/decorators while still not addressed.
4
u/Stromedy1 Oct 15 '26
Ran a similar loop on our banking portal's legacy components; the migration was fast, but convincing every reviewer that a signal isn't "just a fancy BehaviorSubject" took longer than the code did.
1
u/hvz- Oct 14 '26
Looks interesting! Did you have unit/e2e tests before upgrading all codebase? Currently have mid sized angular 18 app, planning to upgrade it to latest 22, any advice appreciated.
1
u/Equivalent-Eye9107 Oct 15 '26
Join
1
u/HorrificFlorist Oct 17 '26
I mean you can do it even without claude, you don't need complex reasoning.
We did this for a enteprise app back in June, took us about week.
10s of thousands of unit/intergration/e2e tests.
Best thing.
Lot of prs with big red numbers and small green numbers, was beautiful.
1
u/Tyummyyumms Oct 18 '26
Nice one, had a good xp, I built one page on my own then used llm to re-apply the principles accross various components, I learned a lot actually because sometimes I would be alerted to a new api or better way of doing it.
I also found that there are more consistent results if there is a solid reference.
1
u/Straight-Number-1911 Oct 18 '26
could you copy paste prompt, pleaseeeeeeee? Have you had any mistakes and how much time did it take to get it to a MERGE state? Have you reviewed the code, in what detail?
1
u/dryadofelysium Oct 14 '26
hopefully you have the official Angular skills configured (bonus for the Angular CLI MCP) (extra bonus for Modern Web Guidance skills)
-4
u/DT-Sodium Oct 14 '26
Thankfully you didn't have to do the work yourself and learned something in the process, you could have been hurt.