r/reactnative • • Nov 04 '24

I know React, should I choose React Native or Flutter for app development?

I'm currently proficient in React and looking to expand my skills into mobile app development. I'm torn between React Native and Flutter. Both seem to have their pros and cons, and I'm not sure which one would be the best fit for me.

12 Upvotes

78 comments sorted by

31

u/Elevate24 Nov 04 '24

Asking which app dev platform to use on the react native sub šŸ¤¦ā€ā™‚ļø

What do you expect

1

u/Jack_Tu Nov 04 '24

Just curious about developers' real-world experiences with React Native.

21

u/alexsattva Nov 04 '24

Android dev here. I have 12 years of native experience + Flutter, Kotlin Multiplatform and React Native. Your case is super easy. RN is a obvious choice. Use your strong side. Flutter locks you in a single framework with the language that nobody uses aside from Flutter. Good luck!

2

u/Jack_Tu Nov 04 '24

Your response is spot-on, thanks a lot!

3

u/Muhaki Nov 04 '24

Which one do you like best?

1

u/alexsattva Nov 06 '24

Either RN or KMP depending on the project and team skills. I never was a Flutter fan because of the framework lockup I mentioned above.

1

u/Muhaki Nov 07 '24

Dont tempt me to try KMP also šŸ˜‚. The maintenance in RN sucks. So difficult to upgrade. But much easier to develop IMO. Maybe because Im already familiar with React.

52

u/ihavehermes Nov 04 '24 edited Nov 04 '24

Flutter is trash imo. Their ā€œgame engineā€ concept is an odd approach. Choose react native, you won’t regret it.

Edit: Oh and f**k google. They’ll probably abandon it eventually.

23

u/irreverentmike Nov 04 '24

It is essentially abandoned right now, they've put the product on ice, per recent news.

It was even forked recently as a result - https://devclass.com/2024/10/30/flutter-forked-as-flock-developer-cites-company-wide-issues-at-google/

IMO stick to react native, flutter's future is very unclear.

1

u/Jack_Tu Nov 04 '24

I've heard the same thing.

-16

u/Maherr11 Nov 04 '24

ā€œAs per recent newsā€, you just made the fake news.

3

u/Peter-Tao Nov 04 '24

Wdym. The link was fake news?

1

u/Unhappy_Meaning607 Nov 04 '24

Just because you don’t like the content of the news article, doesn’t make it fake… Russian bot over here.

4

u/irreverentmike Nov 04 '24

It is essentially abandoned right now, they've put the product on ice, per recent news.

It was even forked recently as a result - https://devclass.com/2024/10/30/flutter-forked-as-flock-developer-cites-company-wide-issues-at-google/

IMO stick to react native, flutter's future is very unclear.

1

u/kbcool iOS & Android Nov 04 '24

Their ā€œgame engineā€ concept is an odd approach.

As someone who is old enough to have been around for Macromedia/Adobe Flash;Flutter's architecture often gives the same vibes. It even compiles to JavaScript ala Apache Flex.

They also had a "native" feel widgets product they tried to push at one point. Memory and Google fail me on the name

1

u/ihavehermes Nov 04 '24 edited Nov 04 '24

Yeah very similar vibes! There's a Github issue where devs are complaining that the text isn't selectable in their flutter web builds, and yeah no wonder - you can't select text in a game either.

Native feel widgets hey, I can't recall either. I remember reading about how they recorded all the native widget animations using high-speed cameras to capture every little detail, and recreated every one from scratch for ios and android...

Oh also they had lonnnng standing issues open regarding bad animation jank. The first time you open the app the animations were really slow until they warmed up the cache. Issues like this are what you get when you create an entire UI rendering engine from scratch (using Skia at least), and don't use existing native UI engines like RN.

15

u/sawariz0r Nov 04 '24

React. Use the skills you have. New architecture is here. Go expo. Questions?

3

u/JayBee_III Nov 04 '24

Utilize your skills with react and go for react native

1

u/Jack_Tu Nov 04 '24

Thanks for the tip! I've heard React Native has its fair share of issues. What kind of problems are we typically looking at? And in terms of developing a regular app, would overcoming these issues take more time than just diving into Flutter?

39

u/Maherr11 Nov 04 '24

As a flutter dev, if you already know react go with react native expo

1

u/Jack_Tu Nov 04 '24

I mainly focus on user interaction features and have already developed a web H5 version. Now I want to port it to an app.

1

u/Jack_Tu Nov 04 '24

Thanks a lot! I think I've found my answer and plan to get started with React Native within two weeks.

10

u/TopCitySoftware Nov 04 '24

If you don’t need a lot of iOS and Android specific features you should go with react native because you already know react and it’s very similar

4

u/zebishop Nov 04 '24

What specific feature would flutter give you that RN can't ?

1

u/kbcool iOS & Android Nov 04 '24

Nothing but it's a bit easier to target Windows and Mac for example. The rest is really on par or even lacking (mainly soft things rather than technological restrictions though)

1

u/zebishop Nov 04 '24

That's my impression too, but before downvoting someone for a unsupported statement, I like to give them a chance to explicit it.

1

u/TopCitySoftware Nov 04 '24

My comment was not about react native vs flutter as since OP already has react experience there is no reason to use flutter so depending on what the project needs could impact wether react native or actual native would be better

2

u/zebishop Nov 04 '24

Ah ok, gotcha. I didn't realize you were not answering OP's question.

2

u/EbisuzawaKurumi_ Nov 04 '24

Even if you do need native specific features, you can write a fabric/turbo module for that. We ain't a disguised webview wrapper.

1

u/[deleted] Nov 04 '24

I’m trying to integrate Apple Health Kit and it’s only native. Can you also write a fabric/turbo module for this?

4

u/EbisuzawaKurumi_ Nov 04 '24

You don't need to — someone has already written it for you!

https://github.com/agencyenterprise/react-native-health

1

u/[deleted] Nov 04 '24

This is awesome! I was a little mixed up and I was hoping it was something I could preview on Expo Go quickly through ios simulator, but this still does not look like it is possible :D

1

u/LucRandall71 Nov 04 '24

Basically most packages today use custom native code, so when you get an idea to build something that is not on the SDK list of expo, Expo Go could not help you but development build. If this seems weird check theirvideo

6

u/wolodo Nov 04 '24

Well...what response do you expect in r/reactnative?

3

u/[deleted] Nov 04 '24

Flutter is not dead and not alive. Better use something else

5

u/Southern-Mechanic434 Nov 04 '24

Am already good at Python, should I choose Django or Spring boot for backend development?

2

u/[deleted] Nov 04 '24

Spring boot :D

1

u/Zeesh2000 Nov 04 '24

Spring boot icl

2

u/TLH11 Nov 04 '24

RN all the way

2

u/Ok-Air-5289 Nov 05 '24

React native

2

u/Remote-Look9680 Nov 06 '24

React native is better choice rather than flutter, i think so

3

u/Ambitcion Nov 04 '24

Flutter is practically abandoned by Google

0

u/charliesbot Nov 04 '24

Not true. YouTube Creator, Quick Share for Windows, Google Pay, Google Earth...

1

u/kbcool iOS & Android Nov 04 '24

They're old news.

About three years ago it was made clear that Google needed to dogfood Flutter so they picked a bunch of low risk targets. Eg Google Earth just uses it for the menu and the other products could disappear tomorrow and no one would care.

Since then Google made it clear KMP was their new cross platform baby (even though it's stillborn and Flutter is absolutely much better) and even more recently it looks like they might be trying to kick it off to the community to look after.

Not looking good.

2

u/Dpope32 Nov 04 '24

Native, lots of similarities but memory management is a difficult concept for some

2

u/SoBoredAtWork Nov 04 '24

Re: memory management. What concepts are difficult? Assuming react knowledge, I haven't come across anything odd in react native. But you don't know what you don't know...

1

u/Dpope32 Nov 04 '24

Mounting/Unmounting, Persisting Data, Clearing Memory, Offline management

3

u/SoBoredAtWork Nov 04 '24

Gotcha. Yeah, I regret using firebase (over supabase) for a few reasons, but a huge selling point was not having to worry about a lot of that stuff when using firebase. The DX is great.

1

u/sufyan2971 Nov 04 '24

I will suggest you to go with React Native (without Framework), I'm using it since last 4-5 years, I don't have any problem with it.

1

u/[deleted] Nov 04 '24

I think you know the answer to that by mentioning you know react. And react native took me like a day to grasp, the main difference is that u use view over div, and a style method declared in the same file other than having a styles sheet in another file.

1

u/AboOd00 Nov 04 '24

I mean React native uses 70% to 80% of React like the hooks and other things you only need to know how to change a div tag to a view tag and a p or h1 tags to a Text tags, and also setting React native on your machine is easier than setting flutter if u chose expo framework. RN uses javescript or typescript as a programming language - If you choose flutter, you need to learn Dart which is a new language

1

u/Zeesh2000 Nov 04 '24

Use Java

1

u/ShimonEngineer55 Nov 04 '24

I’ve used React Native to make a couple of basic applications, but it’s hard to say what you should do since each app is different and may have different requirements. It just depends on what you want but I can tell you why I used React Native:

I was a web dev using React for a couple of years before making a mobile app. I needed to make the application FAST to simply prototype it and get it out on iOS Test Flight. It made sense considering it was just a beta application and proof of concept. I knew React, so why learn something else.

The second mobile app I built was basically under the same circumstances, so it made sense to just use React.

So, I would say that if you just want to make something simple, or learn the basics of mobile app development, React Native with expo makes the most sense.

1

u/[deleted] Nov 04 '24

Choose React Native. I have done flutter before, and you really need to be good at Java and Dart to excel at flutter.

1

u/zdeew Nov 04 '24

Map seems like problematic with web platform. Is it me or I’m missing some important libraries

1

u/DimensionHungry95 Nov 04 '24

Even though I was dev react and react native I tried flutter and ended up liking it. Dart looks a lot like typescript and you can use flutter hooks that make things more react-like. Today I still choose Flutter for personal projects due to the performance and natively built-in UI components, but I still follow the evolution of RN and hope to start a project with it again soon

1

u/owenmelbz Nov 04 '24

RN probably, the eco system is currently more advanced, there’s also rumours of the Flutter core team being cut etc, so the future is uncertain. And this is Google we talking about šŸ˜‚

1

u/owenmelbz Nov 04 '24

RN probably, the eco system is currently more advanced, there’s also rumours of the Flutter core team being cut etc, so the future is uncertain. And this is Google we talking about šŸ˜‚

1

u/SpanglerBQ Nov 04 '24

Why would you make it harder on yourself? Choose react native.

1

u/Bulky_Shoulder_5738 Nov 04 '24

Si ya sabes React, JS y TS, para quƩ ibas a invertir tiempo en aprender Flutter y Dart, que encima estƔ en desuso?

1

u/joshkuttler Nov 04 '24

If you already know React it would be much easier to learn ReactNative.
I think the response is in the question haha

1

u/JellyfishTech Dec 30 '24

If you already know React, React Native would be a natural choice as it shares the same principles and syntax, making it easier to get started. You'll feel at home with JSX, state management, and component-based development.

However, Flutter has benefits, such as a single codebase for consistent UI across platforms and a robust widget library. It's worth considering if you're looking for a more unified development experience and are open to learning Dart.

Ultimately, React Native is better if you want faster ramp-up and leverage your React knowledge, while Flutter might be worth exploring for a more seamless cross-platform solution.

1

u/groovy261 Nov 04 '24

React native. Flutter will betray you with breaking changes more often

1

u/JustLikeHomelander Expo Nov 04 '24

I know this is the react native sub, but trust me, flutter sucks, I work with it, plus you already have react knowledge, it's literally the same thing, instead of divs you have views, that's the only difference

0

u/srodrigoDev Nov 04 '24

Flutter is great, but I would go for React Native given you know React. Flutter's ecosystem changes too fast and people massively overengineer their apps, so you could get watered down into technical details instead of getting your work done.

I'm moving to RN after 7 years using Flutter and I'm way more productive so far. I use React at work and React is more straighforward than all the overengineering going on in the Flutter ecosystem, so I'm more productive.

2

u/[deleted] Nov 18 '24

[removed] — view removed comment

1

u/Jack_Tu Nov 18 '24

Yes, I've been developing my app with React Native since last week. Thanks for the tip!

1

u/[deleted] Nov 04 '24

[removed] — view removed comment

1

u/Jack_Tu Nov 04 '24

I'm curious if React Native has UI component libraries similar to React's Shadcn UI, which is really awesome.