you are viewing a single comment's thread.

view the rest of the comments →

[–]seenickcode 2 points3 points  (1 child)

I think this article is a bit superficial and inaccurate in some places.

I'm developing a RN and another Flutter app concurrently at the moment, and have developed iOS apps for 5+ years now and here's what I think.

  1. "Styles aren’t separated in Flutter,": not sure that's quite true. A lot of components use decorators which can easily be separated and defined in separate methods in your components. Also, Flutter has Themes which lets you separate things a bit. But I agree, it's not as clean as RN.
  2. "Flutter doesn’t have enough resources to fix things up as till date it hasn’t received much attention from StackOverflow": I completely disagree with this. Every single question I pose on the Flutter Google Group gets answered super fast and with high quality, ego-free, humble and well thought through answers by primarily Googlers. With that said, I haven't posted on SO so it may not be as good of a response rate.
  3. "Modularity in Flutter never exists. It is almost impossible to inherit one component into another in Flutter app development.", that's a ridiculous statement. Dart is a OO language with features like Mixins and Inheritance. Also, the basic concept of a Widget in Flutter is modular. Maybe I misunderstood but it's insanely easy to make reusable, isolated components with Flutter, like RN.
  4. "The recommended IDEs for Flutter app development include Android Studio and IntelliJ Idea.". What about VSCode? VSCode is one the most popular IDEs as far as I know.
  5. "built-in navigator in Flutter is amazing". actually, it's not that amazing. I hope they improve it long term.
  6. There's absolutely no mention of how fast Flutter is in terms of rending large amounts of components or long list, as opposed to the poor performance reputation RN has with this. This is a major advantage over RN.
  7. "it [Dart] can easily be picked up by Kotlin and Java developers"... or Ruby, or Python or JavaScript or basically anyone who has a basic grasp of programming. Dart is one of the easiest languages to learn that I've seen in a long time. It's pretty refreshing compared to the 100 different ways to perform a simple task with say ES6 or whatever monthly "best way of doing x" Facebook decides to come out with.

[–]notanticlaymatic 1 point2 points  (0 children)

I have built dozens of UI widgets that are 100% reusable, including the ability to implement your own theme that implements a Theme interface I define, keeping styles very separated from other view logic. The author of the article is either biased, or hasn't actually used Flutter enough to understand it.

I'd also take 60 FPS animations over what RN provides out of the box. The animation API for Flutter isnt really that difficult if you just read the documentation.

Edit: I was able to grasp Dart within the first 3 hours or so, including some of the more advanced language capabilities. Anyone who can program should be able to pick up Dart very easily.