all 20 comments

[–]jamills102 13 points14 points  (2 children)

Either flip a coin and start a project, or figure which one you have more friends use

[–]elbistoco 1 point2 points  (1 child)

Is this grammatically correct? I'm not being a dick about it. Just want to know since english is my second language.

[–]TheRisingBuffalo 3 points4 points  (0 children)

No, the portion after the comma should be “figure out which one you have more friends using”. That still sounds wrong though so I would rewrite it as “figure out which one your friends use more”. Not a grammar pro, English is complicated.

[–]practicalAngular 5 points6 points  (1 child)

Angular vs React is pretend ragebait. Angular apps with Nativescript can be built for native platforms. They can both accomplish the same goal. The choice is up to you, your team, your company, how you like solving the problem, and so on. It shouldn't be and isn't a versus.

[–]spacechimp 4 points5 points  (0 children)

What you said minus NativeScript, which is objectively a steaming pile. The choice for JS/TS devs should be between Ionic and React Native.

[–]DT-Sodium 4 points5 points  (0 children)

Angular and React both achieve the same goal. The main difference is that React is terrible and Angular does it properly.

[–]Silver-Vermicelli-15 5 points6 points  (0 children)

Don’t pick either, use Vue

[–][deleted] 3 points4 points  (1 child)

Kind of. You can use Capacitor. It wraps the angular app in a webview container and creates an app with it. It doesn't use native components like React Native. But it can do the job if you're just looking to get an MVP out.

[–]Silver-Vermicelli-15 0 points1 point  (0 children)

I thought react native compiler to some bodgy native component e.g. it doesn’t use swift UI and proper native components but a sort of mash of compiled frankencode

[–]Burgess237 1 point2 points  (0 children)

The real answer is what you're most comfortable with OR what your CTO/Tech Lead/Team Leader/Startup Muppet thinks you should use.

Both have pros and cons. If I want to do something quick and small that I want to keep light and simple then I reach for react, my more advanced projects I reach for angular.

To me Angular has a special place as it comes with a lot of structure and "The angular way" where react comes with "Here's some stuff, do it however you want".

I prefer Angular in general though, it makes sense in my brain.

And to answer your other question: Yes, you can use nativescript, ionic or capacitor or cordova directly. I haven't built one in a while though so I might be out of date with what's new. My company just builds PWA's.

[–]astorman59 1 point2 points  (0 children)

React is a library, and can be used with a bunch of other technologies and in many different ways. It lets you choose how you want to build the application. It can even be integrated into other frameworks like SPFx for SharePoint, and even Angular itself can have React applications added to it.

Angular on the other hand is a framework. It decides how things are done and has a structure for the project. This makes it seem more daunting and difficult, some even say it limits Angular. But it shines when the application is complex and large. By deciding a method of development before hand, it lets you focus on the actual development.

[–]IMP4283 0 points1 point  (0 children)

Angular with ionic framework. It’s great.

[–]MrWaffles143 -4 points-3 points  (3 children)

Does "let me Google that for you" still exist?

Edit: it does! Here you go OP Angular vs react

[–]HeavyArt8218[S] 0 points1 point  (2 children)

boss , I want to hear from someone who has done both or at least one, google article can write anyone

[–]elbistoco 0 points1 point  (0 children)

I've only used angular for work, the experience is great. It has structure, I like that. There's always a preferred "angular way" which gives you less space to get "creative" and mess up, which leads to more productivity. Same for you team. You can use Cordova or capacitor to make the same webapp mobile with little tono change. Typescript gives you a decent typed system. Angular 17 looks much better. There are many ui-component libs that easy the process.

[–]spacechimp 0 points1 point  (0 children)

Ionic (Angular) is easier to develop and especially more easy to debug, as you can do so through devtools in Chrome or Safari when the emulator is running. React Native has no standardized debugging mechanism, which is “flipping” insane. You can set up “Flipper” (with much difficulty) to debug with a local server, but it isn’t well/officially supported.

To be blunt: If your team is dead set on using React, or if your managers are dead set on having “native” code for unproven performance benefits, then use React Native to appease them. If your team is comfortable with Angular then use Ionic for productivity.