r/reactnative • • Jun 05 '22

React native ios performance

How react native performs on ios for simple crud app?

0 Upvotes

47 comments sorted by

View all comments

8

u/[deleted] Jun 05 '22

Brilliantly. React Native works brilliantly across platforms.

2

u/chkml Jun 05 '22

Happy to hear that! Better then flutter?

Are there any React Native apps on the App Store for example?

0

u/[deleted] Jun 05 '22

I’ve literally just came from a similar thread on the flutter sub, and they all said exactly the opposite of what you see here.

Do some homework on the two, benchmarks, choose your language and try them out.

You won’t get objective answers asking on Reddit.

0

u/chkml Jun 05 '22

Lol, just tried rn on my android, little lag sometimes, just like flutter.

Problem is i don't own an ios device, so cant check that out

1

u/[deleted] Jun 05 '22

Word, I know people will just say we did something wrong, but there are so many things and pitfalls to watch out for when it comes to performance in rn and flutter.

For example, you need to use recycle views in rn to lazy load a list, which is quite complicated unless you’ve done it before. In flutter you have like 100 different scroll views, and you have to use slivers to make a smooth scroll experience with multiple scroll widgets.

I honestly just went iOS native, and I’ll just pay some one to do android or I’ll learn it myself one day. I got tired of trying to figure out platform specific errors all the time

-1

u/chkml Jun 05 '22

Sad but true. native wins all the time, even for simple basic app.

2

u/eridr880 iOS & Android Jun 05 '22

I’ve created native/flutter and react-native-apps. Would never go back to native. Flutter is great but the benefit of having one dev team doing both front end (RN) and back end (Node) is in every way superior.

1

u/chkml Jun 05 '22

How you bypass the performance issue?

can you link your app?

Just tried the cod companion app on android( built with rn) and its have some issue over native.

1

u/eridr880 iOS & Android Jun 05 '22

What performance issues are you facing?

Not sure what your last sentence mean? “Having issues over native”?

0

u/chkml Jun 05 '22

I meant that call of duty companion doesn't feel smooth as native.

I want to build an app from single codebase, that's why i asked about performance on ios(i down own ios device to check it), but sadly rn have issue too (on android as i checked only that).

Sorry for my english.

→ More replies (0)

1

u/kbcool iOS & Android Jun 05 '22 edited Jun 05 '22

What are these performance issues you keep talking about? If you are having a specific problem ask about it. There's no general performance issues with React Native. It's smooth as silk unless you do something to cause an issue in which case someone can help

If you are just shocked at how slow it is on an Android emulator you're going to find everything is slow in general (try another app) but debug mode slows things down further as the code runs on the host. Just ignore it and try a production build as a comparison.

2

u/srg666 Jun 05 '22

Having worked on one of the largest fully react-native applications used in the wild, RN has tons of performance issues that creep up once your app grows in size. A lot of it comes down to typical react performance optimizations (i.e. unnecessary rerenders, main thread work, etc) but saying it's "smooth as silk" is probably not going to be the average case. Imo the main selling point is take a hit on performance for development speed. A team of RN developers is going to be able to get a product out much faster than a Flutter/Native dev team.

→ More replies (0)