Skip to content

Commit

Permalink
Remove Navigator recommendation
Browse files Browse the repository at this point in the history
Summary:
We recommend using `react-navigation` over `Navigator`. Adds a link to the new `native-navigation` component as well.

Did not test website generation, this is a comments only edit that should work fine.
Closes #12963

Differential Revision: D4749072

Pulled By: hramos

fbshipit-source-id: 4506630306c44b24b95c4f5d5a42c1caa9e2cd4e
  • Loading branch information
hramos authored and facebook-github-bot committed Mar 21, 2017
1 parent ee245b9 commit a030432
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Libraries/Components/Navigation/NavigatorIOS.ios.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,10 @@ type Event = Object;
* animations and behavior from UIKIt.
*
* As the name implies, it is only available on iOS. Take a look at
* [`Navigator`](docs/navigator.html) for a similar solution for your
* cross-platform needs, or check out
* [react-native-navigation](https://github.com/wix/react-native-navigation), a
* component that aims to provide native navigation on both iOS and Android.
* [`React Navigation`](https://reactnavigation.org/) for a cross-platform
* solution in JavaScript, or check out either of these components for native
* solutions: [native-navigation](http://airbnb.io/native-navigation/),
* [react-native-navigation](https://github.com/wix/react-native-navigation).
*
* To set up the navigator, provide the `initialRoute` prop with a route
* object. A route object is used to describe each scene that your app
Expand Down

4 comments on commit a030432

@jfilter
Copy link

@jfilter jfilter commented on a030432 May 1, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey, can you elaborate a little about the reasoning? Is React Navigator somewhat deprecated? I've already used React Navigator and I am not sure if I should switch to React-Navigation now.

@perfmlin
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same question with above one.

@jfilter
Copy link

@jfilter jfilter commented on a030432 May 2, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When you install the new version, the React Navigator is marked as deprecated.

@jasonmerino
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jfilter @perfmlin I think the recommendation is React Navigation rather than React Navigator. Small difference in naming. Hope that clears things up. 🤞

Please sign in to comment.