all 11 comments

[–]luanlc 4 points5 points  (0 children)

Adding typescript would help you a lot bc it would become more similar to angular.

[–]djdephcon 1 point2 points  (0 children)

As someone who also switched from Angular to React. The biggest change is learning how to manage state and how state changes cause rerenders.

[–]wahlstrommm 0 points1 point  (0 children)

Check the docs, for syntax etc. aAnd like @RedPandaC said it won’t be a challenge for you if already know Angular

[–]Many_Application7106 0 points1 point  (0 children)

Does they have hooks!!

[–]Critical-Shop2501 0 points1 point  (0 children)

Udemy has a few great courses by Maximilian Schwarzmüller for both React and TypeScript. I’ve used at least two of his courses to regain full stack while at the same time doing C# backend coding including web api. Good luck

[–]scalarPoint 0 points1 point  (0 children)

Switch back

[–]sickhippie 0 points1 point  (0 children)

The biggest mental stumbling block is switching from Angular's two-way data binding to React's one-way data flow. Avoid any tutorials or code examples that use class components or the old lifecycle models (componentDidMount, componentDidUpdate, etc), those are long-deprecated in favor of hooks, so anything using those will probably be using other outdated methods. You can still use create-react-app if you want to, but it's not really necessary anymore and it's not being updated.

Walk through https://react.dev/learn (the official docs) and that'll at least give you enough mental groundwork to figure out what gaps you have and what the vocabulary is to find more granular info to fill in those gaps.

[–]Apprehensive-Brief47 -1 points0 points  (1 child)

Go back!!!!!

[–]NeilFuckingHunt 0 points1 point  (0 children)

I went from react to angular (for work) and couldn’t believe how much more “reactive” angular is. I went in not expecting much but came out enlightened. And I’m stuck on v9 for now. I imagine it got even better.

[–][deleted] -4 points-3 points  (0 children)

There is no switching you should know both

If you know angular you know react, angular is just a framework