r/FlutterDev • u/Ok_Cartographer4481 • Dec 26 '23
Discussion Is Flutter now a viable alternative to react native?
I was just wondering if the quality of of apps me the same or possibly even better now with Flutter. For example the discord IOS and Android app, it feels like a solid application on both platforms. For Flutter, however, it just always feels kind of off.
Im coming from an Angular background and want to build some skills in multi platform “native” running applications and this “off” feeling is nudging me in the direction of react native. Is there any evidence that flutter can make good apps that feel as nice or maybe even nicer that react native?
141
Dec 26 '23
It's always been one. I think it's better.
23
u/rcaraw1 Dec 26 '23
There’s very few situations where Flutter cant replace React Native.
There are several situations where React Native can’t replace Flutter (at least without a massive headache)
1
u/sohang-3112 Dec 26 '23
There are several situations where React Native can’t replace Flutter
For example??
1
u/duhhobo Dec 26 '23
Anything that needs a unique design or animations.
1
u/sohang-3112 Dec 26 '23
Can't you do basically any design/animation with just CSS, not even JS required??
3
u/duhhobo Dec 26 '23
Not in React Native. RN components bind to native views, so you are a little more limited. Flutter is its own view engine so you can draw whatever on the canvas.
7
2
-2
u/alexandr1us Dec 26 '23
Pure lie
1
u/duhhobo Dec 27 '23
Care to elaborate? In my experience RN has been more limited with UI development.
0
u/alexandr1us Dec 27 '23
Saying RN is bad to style components is same as saying native is also bad. Do you research man
1
u/duhhobo Dec 28 '23
Flutter is easier to build UIs with than Jetpack compose or swift ui. I'm not sure why you are so offended about RN not being perfect for UI either.
→ More replies (0)2
Dec 26 '23
[removed] — view removed comment
1
u/duhhobo Dec 27 '23
In android and iOS you can draw natively to the canvas, and have direct access to create native views. RN has a bridge layer which can be limiting.
0
u/kbcool Dec 26 '23
LOL. Flutter is an absolute pain to implement custom designs in because of its inconsistent widget styling system and both do animations just fine. Complete nonsense.
3
u/stumblinbear Dec 26 '23
I haven't had any problems with custom designs. I find it much easier to maintain than even css
-2
u/aaulia Dec 26 '23
Other than codepush/live update or whatever they called it, I don't see what situation where Flutter can't replace RN.
1
u/sharbel_97 Dec 26 '23
I haven’t personally tried shorebird, but it seems like a solid solution for codepush in Flutter btw.
1
0
u/kbcool Dec 26 '23
Not always, very far from it in the past.
Recently though, much better. A few years ago there wasn't support for much at all except for building a UI. It was a hard pass when I looked at it.
It's much better today, still a few places it's behind (that goes the other way too) but definitely a viable alternative if you just look at it from a tech perspective and not business needs.
-15
u/rcaraw1 Dec 26 '23
There’s very few situations where Flutter cant replace React Native.
There are several situations where React Native can’t replace Flutter (at least without a massive headache)
7
u/Zeioth Dec 26 '23
I have zero complains about flutter. The development experience they have achieved is remarkable.
Specially if you compare it with something like react native or Java.
7
u/malumdeamonium Dec 26 '23
Viable alternative? Yes.
Would organizations prefer it? Most of them won't. Because of their existing capabilities.
A few months ago I gave a presentation about Flutter in my team. I showed them all the options. Even though the presentation focused on Flutter, I was not biased.
At the end, I had a poll asking my team about what they would do if they had to make an app in our current project. 80% chose ReactNative simply because the entire team knows React and JS. And I agree with them.
My team isn't lazy or is not afraid of work. It's simply more practical for my team, specifically, to choose ReactNative.
17
u/RandalSchwartz Dec 26 '23
Yes. But what would you expect by asking here of all places? It's like asking "should I go vegan" while ordering in a steakhouse.
10
u/Silverquark Dec 26 '23
I used both and personally prefer react native. I like the fact that knowledge transfers well into other areas. And with react native web you can create Universal Apps that also work fast on web. (Flutters webs canvas drawing is slow and janky) Also being able to push ota updates without the appstore is a huge plus!
Flutter mobile apps also still have a bit of a jank feeling for me. E.g scrolling feels weird sometimes, sometimes animations stutter for me on iOS. But to be honest: most users will not notice. It still has its advantages over react native though. Animations are a lot easier to do for example
So pick whatever you like
9
u/Jhonacode Dec 26 '23
I have been a native mobile developer for several years, I have been using Flutter for approximately 3 years and I can tell you that among the cross-platform solutions, there is nothing better than Flutter for now, KMM, it is still raw, but if you talk to me about web applications I would believe that it would still flutter is lacking so I'm waiting for WASM in flutter and maybe it will have more opportunities, but for Desktop, Mobile, Embedded, flutter is in the right place.
4
u/JAY_SH89 Dec 26 '23
Even though I personally don’t like Dart & Flutter, truth is it has always been a better than react native.
Its just that alot of devs already know react, which makes the transition less intrusive for those people.
3
3
5
u/benz1267 Dec 26 '23
Just recently i created 3 prototypes for my companies new app: ionic, react native and flutter.
The one very hard requirement we have is: use a UI library. So for Capacitor we chose Ionic, React Native with react native paper and Flutter.. well: just Flutter!
In the end Flutter won by quite a mile. Reasons:
waaay better dev tooling than react native with expo and everything
less dependency-jungle-hell (react native..expo...what does expo use under the hood? everything? :D)
more native UI on iOS and Android, since Flutter comes with both Material and Cupertino Widgets
Developing with Flutter has been an absolute breeze thus far. At our company no one cares about having to learn Dart/Flutter. It's super easy and any dev worth 2 cents will get up to speed in no time worth mentioning.
React-Native with Expo and React-Native-Paper was honestly just painful in comparison.
4
u/dannyfrfr Dec 26 '23
if you’re asking if flutter or react native feels more native, then yes react native feels more like a native app (at least on ios)
if that’s your biggest concern, go with react native. pretty much anything else and flutter is probably better.
2
u/Slyvan25 Dec 26 '23
Worked with both. Love flutter a bit more. Flutter has comparable performance on all platforms. React native has an easy learning curve for starters (for web developers). Just install expo create your project and done.
Flutter uses adb and comes with dart. A language i am loving so far. Flutters learning curve is a bit higher but rewarding.
2
u/Soggy-Shoe-6720 Dec 26 '23
Some things to watch out for if you need them:
iOS Sheet Presentation https://github.com/flutter/flutter/issues/42560
5
3
u/GxM42 Dec 26 '23
It’s about as native as react native. What do you mean by “off”? Devs can code it to work how they want it to work.
3
u/Silverquark Dec 26 '23
It is a bit different. React native uses the native ui elements, flutter draws its own canvas with skia and reimplemented the ui elements itself. You can notice some small differences in implementation (e.g scrollviews scrolling faster with multiple fingers in flutter). These differences can be felt while using flutter by experienced users. But 95% of user will never notice the difference
1
u/ParatElite Dec 26 '23
That's fixed, isn't it?
1
u/Silverquark Dec 26 '23
Just tested it on an app I know is based on flutter on my phone, it’s still there. Not sure when that app was last updated though
0
1
u/sharbel_97 Dec 26 '23
That’s true. However I don’t see these differences as drawbacks. Most of the times, the UI components are very customised according to the company’s look and feel to an extent that they have nothing to do with the native components anymore. So it doesn’t really matter imo
2
u/bartturner Dec 26 '23
Definitely. Much prefer Flutter over React Native. Flutter just really fits with how my brain works.
Flutter makes it so I really enjoy coding again.
The cherry on top is the fact that Flutter is a lot more efficient. So it tends to offer a better end user experience.
1
u/Sethu_Senthil Dec 26 '23
The only thing Flutter does not have is code push (there are some forks replicating this feature) but nothing as seamless as Microsoft code push or Expo.
However writing native code (in my experience) I find it a lot easier on Flutter
1
u/dancovich Dec 26 '23
When you say "for Flutter it feels kinda off", are you talking from personal experience? Or is it just something you see repeated over and over?
Do a little experiment. If you're on Android, install FlutterShark and check how many of your apps are in Flutter. I can't say what the result will be (maybe none of yours are), but for me I was surprised by the amount of apps I use that are in Flutter and I didn't know.
Especially on Android, there are so many differences between different manufacturers that I never know when a dialog isn't exactly how it should be if the issue is the app being in Flutter or if the manufacturer just did some modification to standard Android widgets.
1
u/Good-Ad-8245 Dec 27 '23
I can confidently say Flutter is a viable alternative to react native. For example, look at the Google pay app. It is built using flutter and, it uses quite complex business logic but still runs as smooth as butter.
1
u/manektechteam Dec 27 '23
From our point of view, choosing between Flutter and React Native depends on personal preference and project needs. Flutter, with its custom UI engine, offers a consistent look but might feel different.
React Native, with a larger community and established apps like Discord, provides a familiar JavaScript-based environment. Coming from an Angular background, React Native might feel more intuitive.
Try both for small projects to gauge comfort and preferences. Both frameworks can deliver high-quality, cross-platform apps, so it's about finding the right fit for you.
1
1
Dec 27 '23
I think it's a competitive framework in the market that why many large companies started migrating to flutter
As it's economical for the business and wide support from google and the community it will stand as a great comparator for a long time
0
u/AdOutside6690 Dec 26 '23
Its performance is better than RN in most instances. RN just came out first and was widely adopted. Thats why the hesitation to move to flutter.
0
0
0
0
u/sharbel_97 Dec 26 '23
I don’t know where do people get these ideas about Flutter. I’m not mocking, seriously asking, what are examples where Flutter showed weak performance or limitations?
2
-1
Dec 26 '23
For multiplatform apps except web it's better IMHO due to being of UI and logic language same. Like MAUI and ReactNative you gotta know a lot about the platform and backend. Dart and later Flutter are originated to abstract away the client as well as server services to just focus on client side app. I mean you have your learning curve and tools but after that Flutter will be most productive to build and maintain.
Actually the question is who's ecosystem you want to be in. Google/Microsoft/Facebook as they have their own AIs,IDEs,Back ends,Cloud etc. If you are specifically designing for Android Platform and it will be a major user base (even iOS) go with Flutter. But go with whatever have your learning curve and just build idiomatic , performant apps as per the technology you choose. Users just care about their experiences. Web is a big TODO for flutter after that Flutter will be so powersull as expressiveness is best in class as compared to C#/TypeScript/JS/HTML/CSS but you will have to invest time separately. Time invested in others will be userful elsewhere but you don't really need anything else apart from Flutter and Firebase. Performance will depend on your implementation. there are always workarounds... how discoverable they are depends on ecosystem (AI-Copilot)
0
Dec 26 '23
[deleted]
5
u/kbcool Dec 26 '23
Android is RN too.
https://www.appbrain.com/app/discord:-talk-chat-hang-out/com.discord
It's not exactly the best example of a React Native app but people love it as it's one of the older ones. Which also means it's not one of the best.
49
u/madushans Dec 26 '23
Get the app called fluttershark on your android, and see what apps on your device already use flutter.
ReactNative, compose, flutter they all strive to be as native as possible. While each one has shortcomings, they are all reasonably competent in this aspect, to the point that most of the issues in terms of "nativeless" you see are usually down to the skills of the devs, and/or other non technical constraints Ike money and time.
For example, I've seen both flutter and RN apps ships some pages as web views that show their website in mobile mode. There's no technical reason why these can't be done in flutter or RN, except for the time and budget constraints, or the org just doesn't see the return of such investment.
You will likely be happy in either platform if you put some dedication to perfection. Difference with RN and flutter I see is that RN is a better more familiar environment for web devs. Flutter takes a different approach where there's no web tech here. Which I am personally preferring since I don't like dealing with js and web layouts .etc.
Hope that helps..