From 5f6237912cfbac45ec9b65d4e5bc3e33b1dcff30 Mon Sep 17 00:00:00 2001 From: Gabriel METZGER Date: Mon, 18 Jul 2016 10:12:36 -0700 Subject: [PATCH] Update IntegrationWithExistingApps.md Summary: Thanks for submitting a pull request! Please provide enough information so that others can review your pull request: > **Unless you are a React Native release maintainer and cherry-picking an *existing* commit into a current release, ensure your pull request is targeting the `master` React Native branch.** (You can skip this if you're fixing a typo or adding an app to the Showcase.) Explain the **motivation** for making this change. What existing problem does the pull request solve? Prefer **small pull requests**. These are much easier to review and more likely to get merged. Make sure the PR does only one thing, otherwise please split it. **Test plan (required)** Demonstrate the code is solid. Example: The exact commands you ran and their output, screenshots / videos if the pull request changes UI. Make sure tests pass on both Travis and Circle CI. **Code formatting** Look around. Match the style of the rest of the codebase. See also the simple [style guide](https://github.com/face Closes https://github.com/facebook/react-native/pull/8869 Differential Revision: D3580218 Pulled By: JoelMarcey fbshipit-source-id: 9f71825ed0a63739497ec7fa77081df0a72b6747 --- docs/IntegrationWithExistingApps.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/IntegrationWithExistingApps.md b/docs/IntegrationWithExistingApps.md index 166b8327c70..a4e48997441 100644 --- a/docs/IntegrationWithExistingApps.md +++ b/docs/IntegrationWithExistingApps.md @@ -348,7 +348,7 @@ AppRegistry.registerComponent('RNHighScores', () => RNHighScores); ## The Magic: `RCTRootView` -Now that your React Native component is created via `index.ios.js`, you need to add that component to a new or existing `ViewController`. The easiest path is to take is to optionally create an event path to your component and then add that component to an existing `ViewController`. +Now that your React Native component is created via `index.ios.js`, you need to add that component to a new or existing `ViewController`. The easiest path to take is to optionally create an event path to your component and then add that component to an existing `ViewController`. We will tie our React Native component with a new native view in the `ViewController` that will actually host it called `RCTRootView` .