Live data from Hacker News

Ask HN: React Native or Flutter for a new app in 2023?

news.ycombinator.com

31–40 of 109 posts

Re: Ask HN: React Native or Flutter for a new app in 2023?

#31
post #13

Purely curious; why not start natively with iOS or Droid (depending on which one your target audience uses more)? You'd have the easiest native API access and fewer headaches. Once you hit PMF & have proven the idea, add the second platform. Is there a benefit to launching on both platforms out of the gate? Unless perhaps there are specific React web assets you'd like to reuse to get up and running faster via React n…

> Purely curious; why not start natively with iOS or Droid (depending on which one your target audience uses more)? For me, React is just easier to use than natively supporting iOS or Droid. No new languages or skills to learn. I also found for social/marketplace apps, Droid users are the supply and iOS is the demand. Can't have one without the other.

Yeah if React is your strong suit, an initial version in React Native is the way to roll.

Re: Ask HN: React Native or Flutter for a new app in 2023?

#33
post #12

I would use Kotlin multiplatform and Jetpack Compose multiplatform. But mainly because I already know Kotlin. It's definitively nicer than typescript though.

Nicer than Flutter's Dart too. The only problems with Compose Multiplatform are the lack of multiplatform libraries, and documentation, but JetBrains tells me that a new documentation site is due this summer.

But then you're in Android Studio land. Have fun when adb refuses to recognise your connected Anroid phone. I gave up and created a React web app optimised for phones.

Re: Ask HN: React Native or Flutter for a new app in 2023?

#35
post #10
post #4

React native imo. Expo is terrific and the library ecosystem, while it might feel like it’s one step down from web JavaScript, is still robust enough for what you need since there are more than enough people out there shipping rn apps.

My only concern with Expo is once you're using it, you're going to get charged per user and per update. It's $0.005 per user per update (plus additional bandwidth and storage charges). So if you have 100K users, that's $500 per update. One update per month would be $6K per year. So you have to factor in the economics of your app.

Thanks for that. One more reason, if I needed one, not to go native at the outset.

Re: Ask HN: React Native or Flutter for a new app in 2023?

#36
post #32

React Native. TypeScript. NestJS backend, NextJS frontend. The ability to easily share code across the full stack is underrated. Of course you need someone that thinks at that high level building it.

Always been interested in the idea of sharing code across the full stack. What do you find you can share the most?

APIs / data models?

Re: Ask HN: React Native or Flutter for a new app in 2023?

#37

Gonna say something controversial, the future of mobile apps is going to be webviews. It's already the case for desktop. iPhones are getting cpus that are close to desktop CPUs from 5 years ago and they can run 3d games.

This.

If reuse across platforms is of interest, a proper crossplatform webapp is a great answer.

Re: Ask HN: React Native or Flutter for a new app in 2023?

#38

Flutter is an awesome developer experience and would probably also make sense for small team that needs to support many platforms. I think I would target flutter if I had to support desktop OS. React-native would probably be preferable if you are just doing iOS/Android/Web due to the maturity of the ecosystem and wide use in the industry.

Flutter's widget tree is an abomination.

Re: Ask HN: React Native or Flutter for a new app in 2023?

#39
post #32

React Native. TypeScript. NestJS backend, NextJS frontend. The ability to easily share code across the full stack is underrated. Of course you need someone that thinks at that high level building it.

Always been interested in the idea of sharing code across the full stack. What do you find you can share the most? APIs / data models?

> What do you find you can share the most?

Types.

Re: Ask HN: React Native or Flutter for a new app in 2023?

#40
post #16

Earlier quoted context omitted.

> Is there a benefit to launching on both platforms out of the gate? I guess the benefit is access to larger audience, and as a result easier growth; this could be especially important in the context of a startup.

Yeah - however IMO large growth isn't as important until some semblance of PMF is hit with a few core users. Then can treat the other platform as a marketing cost - i.e. if you're making 75k on iOS and predict a similar revenue for Android it's worth it to hire an Android developer for to build it out. But if one hasn't yet found a few hundred quality users on one platform why build the other one.

Why target one platform when your project can target all major platforms (web, iOS, Android, MacOS/Windows/Linux)? Especially if you're already experienced with React and can later hire from that monstrous talent pool?

Hell, instead of casting that wider net for users, you could still only release/focus on iOS, but still have tons of work done when you're ready to move your React app to those other platforms.

Post reply on HN