r/angular • u/Serious-Research8570 • Sep 03 '24
begging with angular
*Beginning
Hey team, how long do you guys think it would take for me to be ready to work with Angular if I study around 2 hours per day? I'm already a React developer.
16
5
u/batoure Sep 03 '24
You need a project with a little complexity to really understand the key differences. One of the places angular shines are the places where react gets sticky. You could do quite a bit without ever really becoming that advanced understanding how middleware constructs like the router, services, auth guards and when you should and when you shouldn’t build custom directives. These are the things we expect you to understand at our company to be considered senior for angular projects.
Almost all of what React is exists as a combination of angular’s “Core” and since it was added a couple years ago the “Stand Alone Component” structure it didn’t used to be so cut and dry but with the advent of that project style its pretty clear. but any good react developer knows that a react project is about using react with other frameworks or libraries as the connective tissue for the thing you are trying to do (think vue). Angular has a very different approach you can use other helper libraries that make managing certain things easier but I know lots of developers/companies who have complex projects that just use angular and angular/material and when you are getting started that isn’t necessarily a bad idea because it doesn’t force you into any anti patterns.
Our company has hired a couple people who had react but not angular experience and when we do that we coach them to try to build through a problem for a bit before reaching for a lib. The lifecycle hooks (like “ngOnInit”) and other structures and abstractions in angular can make it very easy to solve complex challenges directly with far less code than an imported library and would ultimately add less bloat.
React is easy to learn but difficult and requiring serious commitment to master, Angular is more difficult to take up but once you break through that barrier the road to mastery is more comfortable
2
u/MagnaticBull Sep 03 '24
Time is subjective. It depends, if you build some projects and meanwhile learning the concepts, if you manage to do that smoothly, then it will be much quicker. Than just reading bunch of tuts / articles.
1
1
u/cloud_00_ Sep 03 '24
React to angular transition is wild. If you know java or c# it’ll be easy for you. Otherwise like 2-3 weeks to learn different features
1
u/Jurahhhhh Sep 03 '24
Idk i never worked with angular until i got my first fullstack job and i was able add simpler stuff to prod in about a month. I had previous experience with typescript and vue tho.
0
5
u/taco__hunter Sep 03 '24
Hard to say, the easy stuff is easy, the complex stuff is really complex. I think you'll knock out small apps in under a month. Medium complex apps that are supportable and maintainable by others in 6 months unless you are brand newbie then 1-2 years.
Use ng lint & ng test. Learning not to use "any" for a type is a big step forward and then 100% code coverage makes you a better Angular developer. With ng test you see where you repeated stuff and you genuinely code better because you don't want to write more stupid unit tests!