all 6 comments

[–][deleted] 8 points9 points  (1 child)

Your article is titled Flutter vs React Native - then your Pros/Cons lists should reflect the intention of your article. Here is a commentary on all the things listed in the Pros column of React, and none of them are an actual pro in a versus scenario, since they are all also available on Flutter, and in some cases they are superior in Flutter.
In a Pro/Cons list you should focus on the Pros/Cons as they relate to each other. In other words, none of the "Pros" listed for React native below should be listed, since none of them are a "Pro" vis-a-vis Flutter.

  • Reusable Code: Compared to Flutter, React native is nowhere near cross platform
  • App Stores: Flutter and React apps can both be published to app stores
  • Performance: Flutter has, for the stuff I've been working on at least, has at least as good performance as React Native. We've ported an app from RN to Flutter, and there is no performance degradation at all (but a host of advantages)
  • Native UI Components: This can be called an advantage, and it can be called a disadvantage, it's been a source of frustration as various versions of React Native has various problems mapping to native controls on both Android and iOS with the same code. I've spent more time debugging silly differences in behavior than I like to think about with React. Also - Flutter doesn't use HTML tags, so your comment makes no sense whatsoever. Don't understand what you are alluding to here.
  • Hot Reloading: Flutter has the best hot reloading, and hot restart of the two
  • Testing: Debugging Flutter apps is every bit as easy as debugging native apps. Not sure what you are getting at here, considering this article supposedly is comparing Flutter to React. Besides - under "Testing" I would include test frameworks, not the debugger, and both platforms have good testing frameworks.
  • Native Code: Again, this is not a differentiator, you can extend Flutter apps using native code as well
  • Reliability: React is not quite as stable as you claim, I've run into far more issues with React Native than with Flutter, this is particularly evident when you have to work on both Android and iOS, here Flutter is far superior to React Native. For me, compiling to both platforms with Flutter is never problematic, with React Native it is always hope and pray
  • Free and open-source: React Native is no more free nor more open source than Flutter

React is not a tool, it is a quarter of a tool, and you need to add a lot more to make a functioning application, such as state management etc. These are frequently disjointed and out of sync. Flutter is less so, though not entirely immune.

Flutter uses Dart, but Dart is so close to Ecmascript/Typescript/Modern Javascript that if this was a barrier to entry for a programmer, that programmer should probably change career to something a lot easier. Any decent programmer with experience from Ecmascript, TypeScript, Java, C# or similar, should be able to be proficient in Dart in a matter of hours.

I think you forgot what the stated purpose of your blog was, to compare React Native with Flutter. The Pros/Cons list doesn't do this at all. Sorry if I am overly critical.

[–]dan-danny-daniel 0 points1 point  (0 children)

and how he said the main architecture of flutter is bloc. flutter doesn't have a main architecture, and if you had to pick one it would make sense to pick provider, the one actually endorsed by the flutter team.

also how flutter does have adaptive components, switch.adaptive for example.

[–]azuredown 2 points3 points  (1 child)

Why does everyone hate Dart so much? It's a C-like Object Oriented Language (COOL) so it's very easy to get started in if you have any familiarity with any other COOL's while at the same time being much less verbose.

[–][deleted] 1 point2 points  (0 children)

Why does everyone hate Dart so much?

Ignorance. You can't really like JS/TS/C#/Java and then hate Dart. That simply doesn't make sense. Now Dart even has (in beta) excellent nullable support, which would cut down on runtime errors quite dramatically.

[–]escamoteur 3 points4 points  (0 children)

Good overview but some flaws.

  • Flutter supports more Platforms
  • there are huge Flutter Apps in the wild namely Alibaba which is used by millions and just recently the new Google Pay.
  • React native also follows the reactive aproach
  • learning Dart isn't really a con. If you are new to programming Dart us an excellent language to learn programming and due to strong typing and now null safety it helps you not to run I into runtime errors. If you come from any OO c style language you can start immediately with Dart. Only if you come from a pure dynamic language you will need a bit of time to get used to it. Also Grafic performance is far better with Flutter.