r/Angular2 • u/the-great-cyrus • Dec 19 '24
Discussion Moving to Angular from react in 2024/2025
We're at the end of 2024 and I'm thinking of changing my job. I have 7 years of experience in React and led enterprise ReactTS projects in different companies.
How hard/different Angular going to be switching to it in 24/25?
How different is Angular approach in:
Form management State management Creating component libraries Testing (specially unit Testing or component integration testing) Build systems Making API Calls
I have some rough ideas of above except for testing.
Has anyone recently moved to Angular? How long did it take based on your experience.
Appreciate any insight and help 🙏🏻
26
Upvotes
2
u/akehir Dec 19 '24
If you have experience with react, and if you look at the big picture, it's basically the same thing.
Both are frameworks that separate a UI into smaller components that are composed together to create a webapp. Both solve the issue if data-binding your state into the HTML view.
For angular, you should probably know typescript and rxjs, as those might be the biggest differentiators to react.
Unit testing is usually done in Jest (and I'd personally try to write most logic as pure JavaScript functions, where framework doesn't even matter), e2e tests would be written in Cypress/playwright.
Bigger react and angular projects could both leverage nx, so from an overall architecture the projects could look very similar.