Page 1 of 1 [ 8 posts ] 

The_Face_of_Boo
Veteran
Veteran

User avatar

Joined: 16 Jun 2010
Age: 43
Gender: Non-binary
Posts: 33,451
Location: Beirut, Lebanon.

28 Oct 2020, 10:01 am

I code mainly with Angular and Node.js.

Recently was trying to learn React because it has more job opportunities, but I didn't like it at all; it's so chaotic compared to Angular and requires a manual set of tools to imports to get a complete ecosystem like Angular.

Who else is facing this misery?



Last edited by The_Face_of_Boo on 28 Oct 2020, 10:06 am, edited 1 time in total.

Steve1963
Veteran
Veteran

User avatar

Joined: 9 Jun 2020
Age: 61
Gender: Male
Posts: 1,012
Location: western MA, USA

28 Oct 2020, 10:04 am

I'm facing the misery of learning React (my first language of its ilk) and I'm not liking it at all. I have a background in asp.net. Sorry I can't compare it to Angular...



Steve1963
Veteran
Veteran

User avatar

Joined: 9 Jun 2020
Age: 61
Gender: Male
Posts: 1,012
Location: western MA, USA

28 Oct 2020, 10:05 am

also, I find the fact that you have to import so many tools and 3rd party things a bit troubling as well.



The_Face_of_Boo
Veteran
Veteran

User avatar

Joined: 16 Jun 2010
Age: 43
Gender: Non-binary
Posts: 33,451
Location: Beirut, Lebanon.

28 Oct 2020, 10:18 am

^^ I am still in early tutorials on React, the first difference I noticed that React uses Javascript natively, to use Typescript you should set it manually, while Angular uses Typescript and webpack out of the box.

I find the JSX concept very ugly, html syntax inside JavaScript? Seriously?

React is a UI library.

Angular is a full-fledged framework and very opinionated. I prefer opinionated frameworks because it forces you an organized project structure.

While React on the other hand feels like jQuery with all the html syntax in the code.


I haven't look into https://create-react-app.dev/ , it looks good.



Steve1963
Veteran
Veteran

User avatar

Joined: 9 Jun 2020
Age: 61
Gender: Male
Posts: 1,012
Location: western MA, USA

28 Oct 2020, 10:20 am

The_Face_of_Boo wrote:
While React on the other hand feels like jQuery.
React is jQuery with some other syntax sprinkled in to confuse me. :) Is Angular not like that?



The_Face_of_Boo
Veteran
Veteran

User avatar

Joined: 16 Jun 2010
Age: 43
Gender: Non-binary
Posts: 33,451
Location: Beirut, Lebanon.

28 Oct 2020, 10:33 am

Steve1963 wrote:
The_Face_of_Boo wrote:
While React on the other hand feels like jQuery.
React is jQuery with some other syntax sprinkled in to confuse me. :) Is Angular not like that?


https://stackblitz.com/angular/qvvrbgrmmda



Steve1963
Veteran
Veteran

User avatar

Joined: 9 Jun 2020
Age: 61
Gender: Male
Posts: 1,012
Location: western MA, USA

28 Oct 2020, 10:57 am

I know I've only been looking at that for 20 minutes or so...but :eew:



The_Face_of_Boo
Veteran
Veteran

User avatar

Joined: 16 Jun 2010
Age: 43
Gender: Non-binary
Posts: 33,451
Location: Beirut, Lebanon.

28 Oct 2020, 4:57 pm

Steve1963 wrote:
I know I've only been looking at that for 20 minutes or so...but :eew:

an
If you have an asp.net background then you would surely find Typescript much more familiar than plain javascript.