Live data from Hacker News

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

news.ycombinator.com

51–60 of 109 posts

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

#51
There are also 2 paths that .NET offers that you might want to consider.

First one is Maui, which is a cross-platform toolkit supporting iOS, Android, Mac, Windows, etc... This generates a native app on each platform. Second path is embedding a Blazor app in a Maui skin, so Electron like.

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

#53
Depends. If it's a hobby, learn both to be more valuable.

If it's for a business? How much money do you have to throw away? Does the app pay for itself, or is it a cost centre? (99.9998% of the time, it's a cost centre.)

You really asked the most boring part of that question. Most of the answers below suggest that the app is defending its territory, etc. Malarkey.

Just like you're not winning the lottery, you're not writing a standalone app that can pay for itself.

Why? Hundreds of thousands of apps exist on each platform right now.

For your app to stand out enough to be successful it needs synergy with something. A web site, a service, a IRL business.../something/.

Tha says to me: do the cheapest possible thing. If you have React devs, use that. If you don't, find the alternative cheapest possible way. Flutter? Maybe. Nocode (like Glideapp, https://www.nocode.tech/category/app-builders)? Maybe.

Pick the fastest/cheapest way to get an app out to validate the concept. Once validated, then you'll have enough information to know what pain points you have, and what solutions you /really/ need.

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

#55

Earlier quoted context omitted.

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.

Types (interface contracts) are already easily sharable with an IDL and code generation. There's no need to stick to a common programming language to share types.

I'm highly skeptical of code sharing for other scenarios, and rarely (never) have seen the effort worth the payoff.

- https://protobuf.dev/

- https://smithy.io/2.0/

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

#56
post #33
post #12

Earlier quoted context omitted.

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.

I will acknowledge that and I do think it sucks. Even when learning kotlin, what bothered me the most was the IDE and the other tedious tools needed (maven, gradle, etc.). Why can't I have something like rustup that just gets the newest kotlinc for me? So I think it's a valid point you're making although I was able to get used to the ecosystem over time.

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

#57

Earlier quoted context omitted.

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?

I made Tamagui (with much effort) to solve this, which has probably the best setup out there at the moment for sharing your UI code on the frontend: https://tamagui.dev For backend we're working on a starter kit that puts together all the pieces (there are a lot!) that's days from release, if you reach out on the Discord I can help get you on as a beta tester. It uses Supabase for data and auth, which seems to give t…

Looks really cool.

FYI, the Silkscreen font on the website is completely illegible at smaller sizes like in the menus. Looks like a rendering glitch. Might want to choose something a little more legible.

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

#59
post #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.

Can you elaborate? I've found it a delight.

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

#60
post #57

Earlier quoted context omitted.

I made Tamagui (with much effort) to solve this, which has probably the best setup out there at the moment for sharing your UI code on the frontend: https://tamagui.dev For backend we're working on a starter kit that puts together all the pieces (there are a lot!) that's days from release, if you reach out on the Discord I can help get you on as a beta tester. It uses Supabase for data and auth, which seems to give t…

Looks really cool. FYI, the Silkscreen font on the website is completely illegible at smaller sizes like in the menus. Looks like a rendering glitch. Might want to choose something a little more legible.

Are you using a very dense resolution? I've turned off anti-aliasing, but if you scale your monitor to be more dense than natural resolutions it will appear quite odd. At "normal" resolutions it looks fine. I could turn aliasing back on at the cost of a bit of visual niceness for most.
Post reply on HN