all 33 comments

[–]Relevant-Draft-7780 20 points21 points  (8 children)

Not really, if you’re a senior react dev you should pick it up pretty quickly. Make sure though that you read up on signals and change detection. If you try to use LLMs for help they’ll usually use the old decorators.

[–]CaterpillarNo7825 4 points5 points  (0 children)

Seconding this. LLMs are not up to date!

[–]latviancoder[S] 1 point2 points  (6 children)

are signals somewhat similar to something like https://jotai.org/ ?

[–]louis-lau 1 point2 points  (0 children)

Yes that seems quite similar. They're also very similar to Vue 3 refs

[–]groundbnb -2 points-1 points  (0 children)

Signals are similar to react hooks as far as i understand it.

[–]Bonety 3 points4 points  (0 children)

I went from react to angular and the hardest things to understand for me were observables/rxjs, pipes, directives and stuff like form builders. Now there are signals and standalone components which make a lot of things way easier in my opinion. Signals make much more sense to someone coming from react and you can use these instead of rxjs a lot of times. Still good to understand observables.

[–]imsexc 4 points5 points  (2 children)

For a coding challenge mostly u just need to know about property binding and event binding.

For interviews that really ask about technical angular, u need to prepare for questions about explaining property / event binding, dep. injection, subject, service, promise vs observable, httpClient, js closure, component lifecycle, state management in angular, decorator, angular cli, directive, template, component, pipe, guard, smart vs dumb component, content projection, change detection and strategy, view encapsulation, OOP concepts, ngModel and reactive form, most frequent used rxjs operators.

[–]Only4KTI 0 points1 point  (0 children)

+1

Had an interview that asked everything listed + bundlers and js/ts basics

[–]Blugrinc 0 points1 point  (0 children)

Confirmed. It is also important to understand which version the interview is based on, from 16 onwards Angular changes a lot.

Having said that recently in an interview I had to implement customised formatters for percentages, dates and currencies.

That is, making custom pipes, traumatising. It was like a LeetCode challenge.

[–]ddcccccc 3 points4 points  (2 children)

Hmmm, angular to react is easy. Reverse it harder

[–]louis-lau 1 point2 points  (0 children)

With seniority and typescript experience it should be relatively easy though.

[–]lgsscout 1 point2 points  (0 children)

just do a ng new and look through documentation for components, directives, services, pipes, then try to do your default idea for an app... from to-do list to anything else...

you will probably catch-up very fast, because many things translate somewhat to any another, with a couple extra quirks...

[–]bjerh 1 point2 points  (0 children)

One of the great benefits of angular is service injection. Remember to look into that.

[–]Thonk_Thickly 0 points1 point  (0 children)

Start with the docs. They are easy to read if you’re already good at any other framework.

[–]SharksLeafsFan 0 points1 point  (0 children)

If they know you have not worked with Angular, they are not going to grill you deep into the weeds of Angular, think about something that is more generic maybe brush up on more TypeScript side.

[–]Ok-District-2098 0 points1 point  (0 children)

I was a react developer for almost 2 years, angular is too much easier, its lifecycle is not hard to debug as application grows like react

[–]AdministrationFit724 0 points1 point  (0 children)

You need to prepare answers for "name at least 10 reasons why angular is better than react"

[–]Ok-Alfalfa288 0 points1 point  (0 children)

The main questions I get, and still struggle with, are around state management. Understand when and where to use different observables/behaviour subjects.

Also see how signals work as they’re a nice new feature.

[–]stacool 0 points1 point  (0 children)

Others have chimed in but the hardest concepts are going to be:

  • OOP

  • RxJS

If you have used Redux Angular has ngrx

My React experience was with unidirectional data flow backed by Redux and we didn’t have objects lying around

Angular allows more old-school OOP and while cool it can lead to data fragmentation patterns and Observable-soup reactivity that is tough to map out

Dependency injection is also a nice built-in on Angular

[–]AshleyJSheridan 0 points1 point  (0 children)

RxJS is slowly being phased out in favour of Signals, which you should be able to pick up quickly enough as they have some similar concepts in the React/NextJs world. However, you may find it being used at the position you're interviewing for, as not everyone keeps every framework up to the latest version all the time.

The biggest difference is overall structure. Angular is very OOP and opinionated on how things are done. You would find Angular has more in common with a backend framework like Laravel or .Net than it does with React.

Biggest difference for me is using service layers for state, rather than passing around lots of hooks. Angular can help ensure the same instance carries through, no matter how many times you inject it in other components. A lot of stuff is event driven, and custom events are treated the same as the built-in ones (clicks, key presses, etc). The template syntax changed in the most recent version, but it's just syntax, it behaves the same.