DEV Community

Cover image for Flutter Vs React in 2020

Flutter Vs React in 2020

Hemant Joshi on July 12, 2022

I Have been in React for long, Experienced in Next, Typescript Typegraphql and Nest or Express! I have always been thinking of making a advnced Mo...
Collapse
 
not4ro profile image
Matteo Notaro

Js can do everything but it's NOT the ideal...
Machine learning? Python/R is better
Making Servers? Java is better
Web App's? Well...
Desktop App? Qt it's better
Cli tool? C/C++ are better

As you can see, js maybe ideal for a protype/small app but not for all

And also Dart, is WAY more faster and fluid than React Native

Collapse
 
hemant profile image
Hemant Joshi • Edited

I partially disagree with the fact you mentioned!

It's 100% true the power of C/C++ is >>>>>> Any other lang.

But, PayPal Built their NodeJs application twice faster then Java, Netflix reduced their startup loading time by 70% using NodeJs

LinkedIn switched to React, Twitter swtched to Node + React.

Is PayPal, Facebook, Instagram, LinkedIn, Flipkart, Airbnb and counting.. aren't the big applications you are talking about?

Machine learning have a craze amoung students and they usually start with Web Dev and then it's hard for them to learn Python, and hence JavaScript will be quite popular amoung the ML and AI guy's cause Js is ultimately faster then the Python due to its Promises!

Check out the Cold startup time for Google cloud ( lowest for JavaScript)

Have you heard of VS code? A Desktop application, Is it built in QT or Electron?

Vs code have been Masterpiece amoung developers'

Javascript is growing, can't deny ES7 is going to be released soon in 2021🙄.

Still, I Too admire power of C/C++ >>>> JavaScript

But learning React Native is 200% worth more then dart‼️

Anyone starting in the field of development, Don't run with Dart🥵

Google is hell promoting Dart, and final result for dart will be same as Angular💲

Collapse
 
moseskarunia profile image
Moses Karunia

VS Code is popular and made from electron. True.

Now, if you are arguing about which one is better, let’s say there’s an alternative of VS Code, but written natively.

There’s no way any sane developer would choose the electron version over the native one.

So, your argument about js is better by presenting the case of vs code is invalid.

Collapse
 
psanchez1982 profile image
Patricio Sanchez Alvial

PayPal only made the web app with node.js, but inside runs a lot of services en Java, C++, etc.

Collapse
 
rahuldange09 profile image
Rahul Dange • Edited

The reason why Google never choosed JavaScript because JavaScript itself is mess language and even if they have choosen that, then how it will differ from react native, iconic or any other js cross platform.
And having your own language for own framework has vast advantages, mainly being you improve it according to frameworks need.
Plus flutter is far more easier than react native for atleast newbies because they don't have to learn 4 things.
I would say to you work in flutter for 1-2 months you will love it💙

Collapse
 
hemant profile image
Hemant Joshi • Edited

I am kind of guy who loves to remain in comfort zone, I rarely shift without the actual need!

I can build almost anything with Typescript on my own from GraphQl to advanced cache.

Why would I learn Dart? ( I am not against dart, but I am comfortable in Typescript)

React Native have a vast Library, where js methods can be reused and Flutter haven't got the Json support as I heard!

Building a Application is not a thing where you are done, the real era begins when you have finished with building the application.

To maintain the application I have to hire someone called Dart developer for application and Js developer for Web App and My Server. Or someone with something else backend build!

Isn't that too costly to do?
Where 1 single guy could work!

Instagram, Twitter, LinkedIn, Uber, Flipkart and many more are using React Native. Does these tech giants never think of advantages or disadvantages?

Surely, as you are beginner you will look for Easy vs Tough or Learning diffrent stuff, but these things are limited to the Beginner, when you begin with ship a large app or something large project all you worry about is CTC and there is where React Native Wins🎉

Scroll through the list of Companies using Flutter

  1. Google Ads
  2. Hamilton
  3. Google Pay
  4. Ebay And less other known

React Native

  1. Instagram
  2. Flipkart
  3. Wall Mart
  4. Facebook
  5. Uber
  6. Paypal
  7. Pinterest
  8. Skype
  9. Whatsapp
  10. Bloomberg
  11. AirBnb
  12. Discord
  13. Salesforce
  14. Shopify
  15. Baidu
  16. Call of Duty Companion
  17. SoundCloud And many more heard names hard to remember.

I totally understand your point, but you are never going to ship a software with your own and a other factors

While building:

  1. Worry about Finance, Rather then it's hard to learn or easy

  2. Worry about CTC

Where, I See React Native Wins, and Flutter is no Harm to React Native, it is something you call challange to the best, React Native have to work hard to get better and as usual break Flutter off!

Also, Remeber the company never looks for someone who knows building apps but in flutter, they will always look for one who have core knowledge whether it's flutter or Native🙏

GL!

Collapse
 
rahuldange09 profile image
Rahul Dange • Edited

I can see that you are React Native fanboy. I Think.
Well I never said react native is bad or anything. I just mentioned that, why Flutter choose Dart and that's best thing they did by not choosing JS there.

For your point you can check pub.dev almost every lib you will find there and there is no problem with json.

I agree with you when you have WebApp in React then you should go with React Native, as logic sharing is possible and many other things. So in that scenarios React Native is best. Btw single guy cannot manage everything unless it's small project.

About building App in real world, I'm application developer started with Android and now also doing Flutter. As a native app developer I have little better understanding how things are.
Plus for your knowledge, We have app in both Play and App store with more than 1lakh downloads with 4.5 star rating. I myself developed that app and it's working really good. It's completely developed in Flutter.

Before starting that app I had to take decision to go with native, Flutter, React or any other.
As at that time I was mainly Android Dev and I also worked in web so I had little edge to go with React Native, if want to choose cross platform. So I created small projects in both framework and after that only I choose flutter. Plus some of my friends who are really good react developers, when they were working with react native they told me that, their experience wasn't good with React Native and that also was a point.

About Jobs and all, yes for Flutter there are less jobs than react native, but I can see increase in it slowly slowly. and yes there are good high paid jobs in react, react native.
It's been while it is in market so and React is main thing react native is there.

Well the apps you mentioned, Ya! there are more React Native apps of Big firms than Flutter.
But if you notice most of the apps are not completely in React Native, they using native android/ios with react native, even Instagram and Facebook. And not to mention AirBnB already shifted to native, Whatspp is Native app only not ReactNative App.
But if you check mentioned flutter apps they are completely made in Flutter.

Well, I'm a guy who follows what I love whether it gives me good pay or not, but also I don't follow blindly. I see good future in Flutter, it's really great framework so does React and React Native is. It's more of choice and environment you work on.
I'm just saying just try it sometime as I did. No one is stopping you from using React Native, it's just you said Flutter should have chosen JS over Dart. To which I answered and that's best decision they took by choosing Dart. :)

Thread Thread
 
hemant profile image
Hemant Joshi

Typically I am Js lover, but I worry about React Native web and Flutter Web.

And suerly agree with you!

Collapse
 
moseskarunia profile image
Moses Karunia

React native is not even used by air bnb anymore. I think since 2019.

Collapse
 
learnwithparam profile image
Paramanantham Harrison

Your title and your content have no sense Hemant. Your argument looks like, when cat close the eyes and think the entire world is dark.

If you are familiar with JS, that doesn’t mean everyone works on stack related to JS. Programming world is huge than JS. JS is popular since most beginners start with it due to vast community around JS. Senior developers hardly cares the choice of frameworks/languages, they solve the business problems with whatever tools they are familiar with.

It always comes down to Horses for the courses. Frameworks and languages are chosen on projects based on their expertise, familiarity and local talent pools.

Flutter is fast growing among indie developers than React native. React ecosystem is huge but not the same can be said for React native.

When you get real product experience, you will learn comparison of such things doesn’t make sense unless you worked on both and know it well enough.

If you still want to compare, don’t compare the market size or what you know. Prejudice is bad in any context.

Instead compare the factors like,

  • Scalability
  • Maintainability
  • Learning curve
  • Third party packages and community strength
  • Build process
  • Deployment automation
Collapse
 
hemant profile image
Hemant Joshi

Surely you can call my title vs Content a Horse and a ant, but have you heard of Flutter Web?

Some or other way, the Goal Flutter and React have is to Conquer the Web which is halfway done by ReactJs.

Rather I would suggest you to have a positive attitude, call a content trash isn't really worth untill knowing the Aim, the future plans!

I opted this post for discussion and this is really a discussion on React and Flutter not over the Title and Content!

This seems just a comment to you, against something based on title vs Content, but this isn't to me, I clearly mentioned on the Content part it's is about React Vs Flutter and join if you have views on them not over the Title and what I posted!

Let me educate you to the level of post, Their is a ongoing project on both Ends either on React or Flutter, called *-Web.

Check here for flutter: flutter.dev/web

React Native does this a long ago, with reusing the 95% of code and flutter is on the way with conversion of Dart code to Respective SPA with js, html and css chunks.

Which enables the Responsiveness and can be hosted with any web server!

The discussion I wanted to see here was, Will Flutter be successful or React, cause you will be writing code over in Dart and convert it to Web Chunks!

Where React Native directly writes over in JS and can have a close hand with Chunks that are to be generated!

Sorry, if I sound rude but morning doesn't begins with a -ve comment!

Suerly, the title may be misleading, but their is no intentions, anyways I am not doing this for views or somebody paying me up!

Thanks a lot, ps :) again sorry!

Collapse
 
moseskarunia profile image
Moses Karunia

Flutter web is not even stable yet. And it’s not even comparable to react js.

Even react native is not comparable to react js.

Ever heard of react native web? That what you should compare to flutter web, not react js.

Collapse
 
learnwithparam profile image
Paramanantham Harrison • Edited

Hey, don’t take it personally. I didn’t mean your content as trash anywhere. I just felt the content as misleading since I expect some valid argument on behalf of both sides. That’s why I suggest some topics to compare as well.

Let me ask few questions,

  • Curious to know, how much do you know react native or flutter?
  • How many projects did you ship with them to arrive at this conclusion?
  • I feel like you take the argument to dart vs JavaScript when your initial plan is to compare just the frameworks. Why?

I know flutter web and used react native myself on projects. I am a JS dev for 10 years.
I currently work on a project called jsmates.com
That’s my love for JS community. But that said I don’t want to be biased to say JS rules without context. It all comes down to context.

  • If you are a React developer then React native is the best choice
  • if you worked on OOP based programming before (Java, kotlin, swift) then flutter is their best choice.

Technically, flutter have more market share and community strength than React native. Most devs who chose react native are familiar/worked with react ecosystem. Whereas flutter have general audience. Even the mobile devs who worked on Kotlin, Swift are learning flutter so their ecosystem is growing in mobile space far better than react native.

Now, let’s come down to the question of whether you need to learn flutter or not?

It comes down to context. If you know react, go for react native.
If you work on non JS web stack, go for flutter. Flutter is winning over mid sized companies. React native isn’t adopted well outside large corporations. Some large corporations left react native due to lack of ecosystem (example, Airbnb)

As I said, I am JS dev who has worked on Js all my life that doesn’t mean I need to only acknowledge JS alone and ignore others. Horses for the courses. The best framework and language is the one you know.

Collapse
 
chakrihacker profile image
Subramanya Chakravarthy

One problem I see with dart/flutter is advertising it as easy for Javascript devs, which I didn't feel as I label myself as functional programmer and the moment you enter dart it's a whole different world. Maybe Google should stop advertising. I see Google ads about flutter 🤷‍♂️. One thing I miss is json support. It would have been fantastic if it ships with json support like Javascript. Why json support because Google created dart to replace Javascript without json support I see it's a difficult job

Collapse
 
hemant profile image
Hemant Joshi

Sorry to say, but I have never got my hands on Dart, and I am pretty sure Dart is no good substitute for JavaScript

Collapse
 
moseskarunia profile image
Moses Karunia

With all respect, this kind of argument won’t serve you well in the future, especially if you are working in the tech industry. But you are still 18, so there’s a lot room to improve. Keep it up, Hemant!

Collapse
 
csdimgba profile image
C.S.Dimgba

I am a react developer,and I started out creating mobile applications with react native and ionic react,if you have used react native before you would know difficult it is to implement easy things like navigation, building signed apk,and struggling with gesture handler,but flutter ships with more easier to use components like the app Drawer()
A child of the scaffold widget,built in navigation built-in gesture detector,and dart is easy it's like even like JavaScript in alot of ways

Collapse
 
jvarness profile image
Jake Varness

You can build cross-platform mobile apps with Angular using NativeScript, or React Native, or Flutter.

While JS is really dominant in the market right now, languages like Dart and frameworks like Flutter give developers another option to create web/mobile applications.

Dart as a language is actually extremely powerful and is object-oriented, whereas JavaScript is functional, and it’s type-safe counterpart TypeScript leaves a little to be desired for those looking for a more strict OO perspective.

I’m not really sure what you’re trying to compare here. It kind of just sounds like you don’t think Flutter or Dart makes sense in a world where Angular, Vue, and React exist.

Another big distinction to make here, which is another that many other folks have made, is that while JS can fit a variety of use cases, that doesn’t always mean it’s the best fit.

Collapse
 
hafudo profile image
хафид заини

"Google engineers were reportedly frustrated with maintaining massive JavaScript code bases for Gmail and Google Maps, and began working on an alternative language"

insights.dice.com/2019/03/27/fall-...

Collapse
 
igweprince0 profile image
SkyData 🤖

I thought it was between two frameworks, why bring other to the matter?

Collapse
 
nexxeln profile image
Shoubhit Dash

Flutter is absolute shit on iOS lmao.

Collapse
 
stephennn99 profile image
Stephennn99

A great comparison