From 1b33a1263df8a0105e8d1fdc0dba5cb9bfadd5c2 Mon Sep 17 00:00:00 2001
From: Website Deployment Script
Date: Sun, 10 Apr 2016 19:30:17 +0000
Subject: [PATCH] Updated docs for next
---
releases/next/docs/navigator-comparison.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/releases/next/docs/navigator-comparison.html b/releases/next/docs/navigator-comparison.html
index 8f5c8c8789e..90a53034e21 100644
--- a/releases/next/docs/navigator-comparison.html
+++ b/releases/next/docs/navigator-comparison.html
@@ -12,7 +12,7 @@ class, and Navigator re-implements that functionality entirely in
JavaScript as a React component. A corollary of this is that Navigator
will be compatible with Android and iOS, whereas NavigatorIOS will
only work on the one platform. Below is an itemized list of differences
-between the two.
Navigator #
- Extensive API makes it completely customizable from JavaScript.
- Under active development from the React Native team.
- Written in JavaScript.
- Works on iOS and Android.
- Includes a simple navigation bar component similar to the default
NavigatorIOS bar: Navigator.NavigationBar, and another with breadcrumbs called Navigator.BreadcrumbNavigationBar. See the UIExplorer demo to try them out and see how to use them.- Currently animations are good and improving, but they are still less refined than Apple's, which you get from
NavigatorIOS.
- You can provide your own navigation bar by passing it through the
navigationBar prop.
NavigatorIOS #
- Small, limited API makes it much less customizable than
Navigator in its current form. - Development belongs to open-source community - not used by the React Native team on their apps.
- A result of this is that there is currently a backlog of unresolved bugs, nobody who uses this has stepped up to take ownership for it yet.
- Wraps UIKit, so it works exactly the same as it would on another native app. Lives in Objective-C and JavaScript.
- Consequently, you get the animations and behavior that Apple has developed.
- iOS only.
- Includes a navigation bar by default; this navigation bar is not a React Native view component and the style can only be slightly modified.
For most non-trivial apps, you will want to use Navigator - it won't be long before you run into issues when trying to do anything complex with NavigatorIOS.