Live data from Hacker News

Ask HN: React Native or Flutter?

news.ycombinator.com

11–20 of 101 posts

Re: Ask HN: React Native or Flutter?

#11
I wrote this article... on the basic differences.

https://medium.com/@andrewt3000/flutter-versus-react-native-...

I love react for web development, but... idk. If you're interested in material design and don't mind that your app will look like a google app, I would seriously consider flutter.

Re: Ask HN: React Native or Flutter?

#12
post #9

Although unpopular on HN: Cordova-based apps with a good mobile look-alike framework can get you very far for a smallish app. Advantages: - truly one code base - iOS, Android, and web apps - JavaScript skills are useful - experience is "good enough" for the average user Downsides: - almost no fine-grained control of input controls (like which keyboard to show) - doesn’t respect users’ accessibility options of the OS…

I agree. With good frontend development practices (state management, caching, etc) it behaves a lot like a native app, it's quick to get up and running and easy to maintain. Not to mention you can deploy as PWA/mobile web if it suits the situation.

What framework are you using? Angular or another framework? I'm interested to explore this approach using Svelte.

Re: Ask HN: React Native or Flutter?

#15
post #9

Although unpopular on HN: Cordova-based apps with a good mobile look-alike framework can get you very far for a smallish app. Advantages: - truly one code base - iOS, Android, and web apps - JavaScript skills are useful - experience is "good enough" for the average user Downsides: - almost no fine-grained control of input controls (like which keyboard to show) - doesn’t respect users’ accessibility options of the OS…

I agree. With good frontend development practices (state management, caching, etc) it behaves a lot like a native app, it's quick to get up and running and easy to maintain. Not to mention you can deploy as PWA/mobile web if it suits the situation. What framework are you using? Angular or another framework? I'm interested to explore this approach using Svelte.

I use Stencil, made by the ionic team: https://stenciljs.com/

It’s also a compiler for web components like Svelte and a lot like React. You can add the ionic code web components to get animations etc. Try it out, especially if you like TypeScript.

Re: Ask HN: React Native or Flutter?

#17
post #4
post #3

With SwiftUI and Jetpack Compose on the horizon for iOS and Android developers, respectively, you should really invest time into learning those frameworks.

A relevant read for someone to seriously consider the "Neither!" answer: https://news.ycombinator.com/item?id=20695806 "The not so hidden cost of sharing code between iOS and Android" (dropbox.com)

Plenty of people already descontructed that post.

From the "lack of open source" C++ libraries or how hard it is to find C++ devs (assuming one actually wants to properly pay them).

Re: Ask HN: React Native or Flutter?

#18
post #6

I think if you are starting mobile app development, learn the basics of the 2 main native stacks (iOS, Android). Preferably learn one of them well. A couple of years ago I might have suggested web (PWA's) as a third kind of 'native' app, but that route seems to have lost traction. In my experience, you'll be a better x-platform developer if you know at least the basics of the native platforms you're targeting. This i…

Quite the contrary, what I have seen around here is that what would have been a Cordova/Ionic project, nowadays is usually done as PWA.

Re: Ask HN: React Native or Flutter?

#19
post #9

Although unpopular on HN: Cordova-based apps with a good mobile look-alike framework can get you very far for a smallish app. Advantages: - truly one code base - iOS, Android, and web apps - JavaScript skills are useful - experience is "good enough" for the average user Downsides: - almost no fine-grained control of input controls (like which keyboard to show) - doesn’t respect users’ accessibility options of the OS…

I used them a couple of times, for that kind of user experience I rather use a PWA.

Re: Ask HN: React Native or Flutter?

#20
post #15

Earlier quoted context omitted.

I agree. With good frontend development practices (state management, caching, etc) it behaves a lot like a native app, it's quick to get up and running and easy to maintain. Not to mention you can deploy as PWA/mobile web if it suits the situation. What framework are you using? Angular or another framework? I'm interested to explore this approach using Svelte.

I use Stencil, made by the ionic team: https://stenciljs.com/ It’s also a compiler for web components like Svelte and a lot like React. You can add the ionic code web components to get animations etc. Try it out, especially if you like TypeScript.

Might have to take a deeper look at it. Thanks!
Post reply on HN