by HectorRamos on 3/14/17, 12:00 AM with 50 comments
by danappelxx on 3/14/17, 1:45 AM
...would appreciate an explanation here.
[0]: https://github.com/airbnb/native-navigation/blob/91ae656192d...
by htormey on 3/14/17, 3:07 AM
https://github.com/wix/react-native-navigation
The problem with all the JS based navigation stacks for React Native (react-native-router-flux, react-router, React Navigation) that I have tried is that if you need to have a back stack, they keep the previous scene in memory. i.e if you look at the 3D view hierarchy in XCode you will see the screen prior to the one you pushed.
This really sucks for overdraw perf and completely breaks accessibility on Android. See:
https://react-native.canny.io/feature-requests/p/navigator-b...
by lacker on 3/14/17, 12:09 AM
I liked Leland's metaphor of calling apps like Airbnb which started out without React Native as "brown field" development and calling apps that start out as React Native "green field" development.
by migueloller on 3/14/17, 2:34 PM
In there you'll see that React Navigation is a solution aimed at "Green Field" projects (as Leland Richardson from Airbnb calls new React Native projects) and replaces Navigator, Navigation Experimental, and Ex-Navigation. On the other hand, Native Navigation is aimed at "Brown Field" projects (like Airbnb's app, which was built in native much before React Native was open sourced) and replaces NavigatorIOS.
You can also see that various features in the roadmap are in collaboration with other organizations (Expo for Create React Native App and Airbnb for React Native Maps).
Indeed React Native has been moving extremely fast but after our decision to go with it over a year ago we've never thought even once about going back.
by evv on 3/14/17, 12:56 AM
React Navigation, released a few weeks ago, includes a customizable JS re-implementation of the native views, and it also provides routers that make it very easy to plug your navigation logic into redux. Because each screen makes no assumption about the surrounding app, it will be very easy to switch from React Navigation to AirBnB's native-navigation.
The RN community has been consolidating efforts between several navigation solutions. React Navigation is an alternative to Navigator, Ex-Navigator, NavigationExperimental, and Ex-Navigation. And now, thanks to native-navigation, the community has a great alternative to NavigatorIOS.
by LAMike on 3/14/17, 12:29 AM
by rattray on 3/14/17, 2:21 AM
http://airbnb.io/native-navigation/docs/guides/basic-usage.m...
# Basic Usage
_This documentation has not been created yet. Sorry about that! Hang tight!_
by grabbou on 3/14/17, 12:22 AM
by nomnombunty on 3/14/17, 3:00 AM
React Navigation seems to be the framework that is endorsed by the react native team. However, Airbnb's React Native Navigation library seems to be more proven since they had been using it in production. I am wondering if anyone know what are the benefits of using React Native Navigation vs React Navigation
by javiercr on 3/14/17, 10:44 AM
> If you are investigating navigation solutions and you are okay with JavaScript-based solutions, we also encourage you to check out React Navigation.
However if you go to React Navigation home page [1] you find this:
> Navigation views that deliver 60fps animations, and utilize native components to deliver a great look and feel.
It looks like every RN navigation library claims to be more "native" than the previous ones.
by shafyy on 3/14/17, 12:27 PM
Also, I am a little bit confused, because react-navigation makes it sound like there are going to be merged into core once stable:
Once stable, NavigationExperimental will be deprecated in favor of React Navigation. React Navigation is a collaboration between people from Facebook, Exponent and the React community at large. [1]
What do you guys make of that statement?
by htormey on 3/14/17, 3:49 AM
This is important because Apple can still make changes to Swift which can break language backward compatibility.
This happened last wwdc. So if you use any third party libraries that are written in swift they won't work till the authors or you update them to the new language conventions.
The wix native library which they reference is written in objective c so this won't have that problem.
by drumttocs8 on 3/14/17, 1:18 PM
by phantom_package on 3/14/17, 7:00 AM
Also:
On iOS, ViewController transitions can be animated using Lottie. It's possible we could add support for such a feature into Native Navigation.
Yes please.
by augustiner on 3/14/17, 12:18 PM
by mjs7231 on 3/14/17, 1:36 AM
App-wide support for 100% native navigation with an easy cross-platform interface. For iOS, this package is a wrapper around react-native-controllers, but provides a simplified more abstract API over it. This abstract API will be unified with the Android solution which is currently work in progress. It also fully supports redux if you use it.
What does this mean?
by k__ on 3/14/17, 12:35 PM
by jensvdh on 3/14/17, 1:06 AM