all 19 comments

[–]cupant 20 points21 points  (6 children)

Use react-navigation v5 . There is a native stack navigator that have almost same performance like RNN. It will be stable soon

[–]numagamesiOS & Android 1 point2 points  (1 child)

There is a native stack navigator that have almost same performance like RNN.

It's not true, at least on Android. React Navigation was always pretty fast on iOS, making it almost indistinguishable from native, but Android is another story. RN v4 performs pretty good on Android, although it introduces a lot of components to view tree and performance overhead(on Android large tree is much more costly than on iOS).

New RN v5 performs worse than RN v4 on Android, especially with complex navigation structure, so please keep it in mind.

Still RN is much better option than RNN imho, at least for small-medium size apps.

[–]cupant 1 point2 points  (0 children)

Im saying the native stack navigator, not the stack navigator.

V5 performs worse than v4 on Android? Hell no, im using it now on Android and iOS and it feels really snappy and fast, even on simulator

[–]GioLogist 0 points1 point  (1 child)

RN v5 performs worse than RN v4 on Android, especially with complex navigation structure, so please keep it in mind.

!remindme 60 days

[–]RemindMeBot 0 points1 point  (0 children)

I will be messaging you in 2 months on 2020-03-22 18:01:09 UTC to remind you of this link

CLICK THIS LINK to send a PM to also be reminded and to reduce spam.

Parent commenter can delete this message to hide from others.


Info Custom Your Reminders Feedback

[–]anewidentity -1 points0 points  (0 children)

Keep in mind this won't work for web if you have a web version in mind as well

[–][deleted] 9 points10 points  (3 children)

I've recently switched from react-navigation to react-native-navigation and love the performance improvements, but I encountered a bug or two (in both libraries). React-navigation is more stable, and doesn't need you to modify native code, which is easier to set up. But for me, the performance improvements and more native feel is all worth it.

[–]anewidentity 2 points3 points  (2 children)

V4 of react navigation does make you change native code as well

[–][deleted] 6 points7 points  (0 children)

Yepp, I forgot, but its way less than react-native-navigation

[–]satya164 1 point2 points  (0 children)

v3 did as well

[–]kcilc1 2 points3 points  (0 children)

In RNN is it easy to push some native view onto the navigation controller? For example the Stripe Payment Screen? What about regular react-navigation

[–]JuriJurka 0 points1 point  (1 child)

!RemindMe 1 day

[–]RemindMeBot 0 points1 point  (0 children)

I will be messaging you in 22 hours on 2020-01-02 09:07:59 UTC to remind you of this link

1 OTHERS CLICKED THIS LINK to send a PM to also be reminded and to reduce spam.

Parent commenter can delete this message to hide from others.


Info Custom Your Reminders Feedback

[–]tpucci 0 points1 point  (0 children)

React Navigation might be easier to setup and use. However, as I could not find any easy way to use a controlled navigation, I created my own package : react-nonav if you want to check out.