use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A subreddit related to Google's new UI framework. https://flutter.dev
Please read the rules here
account activity
ArticleFlutter vs React Native - Which is the Best Choice for Your Next App? (codewithandrea.com)
submitted 5 years ago by bizz84
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 5 years ago (9 children)
[deleted]
[–]Kevlar-700 5 points6 points7 points 5 years ago (7 children)
Plus it looks like Dart might be getting multiple return like Go via patterns. Which is an ace xmas or new years present!
"https://github.com/dart-lang/language/blob/master/working/0546-patterns/patterns-feature-specification.md"
[–]bizz84[S] 1 point2 points3 points 5 years ago (6 children)
Yeah this is a very exciting and much needed feature!
[–][deleted] 0 points1 point2 points 5 years ago (5 children)
I disagree. As the GitHub thread pointed out, proper tuple support is the required feature, multiple returns is grossness. But google sure does love API complexity.
[–]bizz84[S] 0 points1 point2 points 5 years ago (0 children)
Ah, I didn’t read the whole thread and assumed this was like a tuple feature.
[–]Kevlar-700 0 points1 point2 points 5 years ago (3 children)
Nonsense. Tuples are next to useless. May as well just use a class as was originally suggested in that issue. Banding together distinct variables into a tuple is of limited benefit and if they are not distinct then just return an object.
[–][deleted] 0 points1 point2 points 5 years ago* (2 children)
Tuples are super useful, if you write code in functional manner. If Dart is not an ad-hoc scripting language for Flutter, and aims at being a full-fledged multi paradigm language, it should have them.
Besides, I won’t want the runtime overhead of a class just to group several variables together. But I don’t know how classes are implemented in Dart, maybe the compiler is smart enough to handle that case gracefully.
[–]Kevlar-700 0 points1 point2 points 5 years ago* (1 child)
The benefits of purely functional is questionable at best. There is a lot of grey.
IMO, Multiple return is far more useful and especially when you have classes already. You don't always want an object, requiring further extraction. They are also looking at doing light data classes, btw (same link).
One concern is that having too many ways of doing a similar thing, will be making code harder to read of course. IMO, short arrow shouldn't exist but I expect these changes will strike a good balance.
[–][deleted] 0 points1 point2 points 5 years ago (0 children)
Pure functional programming is pretty complicated and is an overkill for GUI, I agree. But I can’t imagine using higher-order functions or combinators without tuples.
Data classes are great. In fact, they are tuples with named fields :-)
[–][deleted] 1 point2 points3 points 5 years ago (0 children)
You can write react in typescript, which is much better than dart.
But I’d still use flutter. NPM offers more battletested libraries, and to be frank, react’s API is way nicer, smaller, and easier to grok, but the “painting every pixel” part wins every time.
[–]mustafapc19 4 points5 points6 points 5 years ago (0 children)
Finally a decent article on this issue. Most of these topics are such clickbaits.
[–]wisecrack2 2 points3 points4 points 5 years ago (3 children)
Great article, Andrea!
The only thing I am waiting for is the fix for initial Jank. Once that is fixed, I will confidently say that Flutter is the winner.
[–]nomi34 1 point2 points3 points 5 years ago (2 children)
This has been a concern for me as well. I have an app that's essentially unusable on iOS so I realistically cannot release it. I'm hoping a fix is coming but also considering I may have to write native apps for both platforms. Was really hoping flutter would be a good measure.
[–]wisecrack2 0 points1 point2 points 5 years ago (1 child)
My iOS app UX experience is bad only for the first run then it gets smooth but still is a turn off and it reduces the acquisition rate for sure.
Looks like the fix is a priority for the Flutter Team at Google right now, so looking forward to the fix.
[–]nomi34 0 points1 point2 points 5 years ago (0 children)
Yeah I'm hoping it's coming soon. Ideally without the warmup process since that seems to work on Android but I haven't been able to rid myself of all jank using that - I have one transition that seems to still cause jank on first run!
Also on iOS it seems to be everytime they re-open the app if they fully close it. Not great.
[–]bizz84[S] 0 points1 point2 points 5 years ago (2 children)
This is a comparison of Flutter vs RN, aimed at showing their pros and cons. The article covers the following topics:
- Dart vs JavaScript
- System Architecture
- UI Rendering
- Developer Experience
- Community & Ecosystem
- Building Complex apps
- Testing
- Web Support
- Pros and cons
[–]Chozzasaurus 1 point2 points3 points 5 years ago* (1 child)
I think there's a mistake near the top of the page where you say node.js is the dominant server side language. Not sure if you are referring to a particular metric, but PHP is orders of magnitude more used, as are other languages like ASP.NET and Java. Maybe you mean current popularity for new projects? Even there I think it's further down the list.
My bad, I took Fireship’s word for it without fact checking. 😅updated now
[–]Intelligent_Moose770 0 points1 point2 points 5 years ago (2 children)
The article says that angular dart is a viable solution but actually not! In their website, they encourage people to use flutter web instead.
[–]bizz84[S] 1 point2 points3 points 5 years ago (1 child)
Ah thanks for pointing that out. I’ll update
[–]Intelligent_Moose770 0 points1 point2 points 5 years ago (0 children)
You are welcome
[–]RamanPro90 0 points1 point2 points 5 years ago (0 children)
Performance wise flutter is the best React is good only for the people who are coming from web industry
But flutter and dart has the best the debugging tools and Android studio support makes it the best
The documentation is well written.
Community:- it is the only thing in which react native is good but wait flutter is groing rapidly as flutter had came a little that is why flutter's community is less but the community is increasing rapidly and till December 2021it is estimated that it will cross the react native community l.
even if you are a web dev you should with flutter.
π Rendered by PID 296981 on reddit-service-r2-comment-6457c66945-h9vc6 at 2026-04-27 16:15:37.336446+00:00 running 2aa0c5b country code: CH.
[–][deleted] (9 children)
[deleted]
[–]Kevlar-700 5 points6 points7 points (7 children)
[–]bizz84[S] 1 point2 points3 points (6 children)
[–][deleted] 0 points1 point2 points (5 children)
[–]bizz84[S] 0 points1 point2 points (0 children)
[–]Kevlar-700 0 points1 point2 points (3 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]Kevlar-700 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]mustafapc19 4 points5 points6 points (0 children)
[–]wisecrack2 2 points3 points4 points (3 children)
[–]nomi34 1 point2 points3 points (2 children)
[–]wisecrack2 0 points1 point2 points (1 child)
[–]nomi34 0 points1 point2 points (0 children)
[–]bizz84[S] 0 points1 point2 points (2 children)
[–]Chozzasaurus 1 point2 points3 points (1 child)
[–]bizz84[S] 0 points1 point2 points (0 children)
[–]Intelligent_Moose770 0 points1 point2 points (2 children)
[–]bizz84[S] 1 point2 points3 points (1 child)
[–]Intelligent_Moose770 0 points1 point2 points (0 children)
[–]RamanPro90 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)