Updated docs for next

This commit is contained in:
Website Deployment Script
2017-05-23 23:35:01 +00:00
parent b9207d28ac
commit 4081c2bcc5
6 changed files with 40 additions and 33 deletions
File diff suppressed because one or more lines are too long
+24 -20
View File
@@ -92,8 +92,8 @@
cd AwesomeProject
npm start</div><p>This will start a development server for you, and print a QR code in your terminal.</p><h2><a class="anchor" name="running-your-react-native-application"></a>Running your React Native application <a class="hash-link" href="docs/getting-started.html#running-your-react-native-application">#</a></h2><p>Install the <a href="https://expo.io" target="_blank">Expo</a> client app on your iOS or Android phone and connect to the same wireless network as your computer. Using the Expo app, scan the QR code from your terminal to open your project.</p><h3><a class="anchor" name="modifying-your-app"></a>Modifying your app <a class="hash-link" href="docs/getting-started.html#modifying-your-app">#</a></h3><p>Now that you have successfully run the app, let&#x27;s modify it. Open <code>App.js</code> in your text editor of choice and edit some lines. The application should reload automatically once you save your changes.</p><h3><a class="anchor" name="that-s-it"></a>That&#x27;s it! <a class="hash-link" href="docs/getting-started.html#that-s-it">#</a></h3><p>Congratulations! You&#x27;ve successfully run and modified your first React Native app.</p><span><center><img src="img/react-native-congratulations.png" width="150"></img></center>
</span><h2><a class="anchor" name="now-what"></a>Now what? <a class="hash-link" href="docs/getting-started.html#now-what">#</a></h2><ul><li><p>If you&#x27;re curious to learn more about React Native, continue on
to the <a href="docs/tutorial.html" target="_blank">Tutorial</a>.</p></li><li><p>Create React Native App also has a <a href="https://github.com/react-community/create-react-native-app/blob/master/react-native-scripts/template/README.md" target="_blank">user guide</a> you can reference if you have questions specific to the tool.</p></li><li><p>If you can&#x27;t get this to work, see the <a href="https://github.com/react-community/create-react-native-app/blob/master/react-native-scripts/template/README.md#troubleshooting" target="_blank">Troubleshooting</a> section in the README for Create React Native App.</p></li></ul><h3><a class="anchor" name="caveats"></a>Caveats <a class="hash-link" href="docs/getting-started.html#caveats">#</a></h3><p>Because you don&#x27;t build any native code when using Create React Native App to create a project, it&#x27;s not possible to include custom native modules beyond the React Native APIs and components that are available in the Expo client app.</p><p>If you know that you&#x27;ll eventually need to include your own native code, Create React Native App is still a good way to get started. In that case you&#x27;ll just need to &quot;<a href="https://github.com/react-community/create-react-native-app/blob/master/react-native-scripts/template/README.md#ejecting-from-create-react-native-app" target="_blank">eject</a>&quot; eventually to create your own native builds. If you do eject, the &quot;Building Projects with Native Code&quot; instructions will be required to continue working on your project.</p><p>Create React Native App configures your project to use the most recent React Native version that is supported by the Expo client app. The Expo client app usually gains support for a given React Native version about a week after the React Native version is released as stable. You can check <a href="https://github.com/react-community/create-react-native-app/blob/master/VERSIONS.md" target="_blank">this document</a> to find out what versions are supported.</p><p>If you&#x27;re integrating React Native into an existing project, you&#x27;ll want to skip Create React Native App and go directly to setting up the native build environment. Select &quot;Building Projects with Native Code&quot; above for instructions on configuring a native build environment for React Native.</p><span><block class="native mac windows linux ios android" />
</span><h2><a class="anchor" name="now-what"></a>Now what? <a class="hash-link" href="docs/getting-started.html#now-what">#</a></h2><ul><li><p>Create React Native App also has a <a href="https://github.com/react-community/create-react-native-app/blob/master/react-native-scripts/template/README.md" target="_blank">user guide</a> you can reference if you have questions specific to the tool.</p></li><li><p>If you can&#x27;t get this to work, see the <a href="https://github.com/react-community/create-react-native-app/blob/master/react-native-scripts/template/README.md#troubleshooting" target="_blank">Troubleshooting</a> section in the README for Create React Native App.</p></li></ul><p>If you&#x27;re curious to learn more about React Native, continue on
to the <a href="docs/tutorial.html" target="_blank">Tutorial</a>.</p><h3><a class="anchor" name="running-your-app-on-a-simulator-or-virtual-device"></a>Running your app on a simulator or virtual device <a class="hash-link" href="docs/getting-started.html#running-your-app-on-a-simulator-or-virtual-device">#</a></h3><p>Create React Native App makes it really easy to run your React Native app on a physical device without setting up a development environment. If you want to run your app on the iOS Simulator or an Android Virtual Device, please refer to the instructions for building projects with native code to learn how to install Xcode and set up your Android development environment.</p><p>Once you&#x27;ve set these up, you can launch your app on on an Android Virtual Device by running <code>npm run android</code>, or on the iOS Simulator by running <code>npm run ios</code> (macOS only).</p><h3><a class="anchor" name="caveats"></a>Caveats <a class="hash-link" href="docs/getting-started.html#caveats">#</a></h3><p>Because you don&#x27;t build any native code when using Create React Native App to create a project, it&#x27;s not possible to include custom native modules beyond the React Native APIs and components that are available in the Expo client app.</p><p>If you know that you&#x27;ll eventually need to include your own native code, Create React Native App is still a good way to get started. In that case you&#x27;ll just need to &quot;<a href="https://github.com/react-community/create-react-native-app/blob/master/react-native-scripts/template/README.md#ejecting-from-create-react-native-app" target="_blank">eject</a>&quot; eventually to create your own native builds. If you do eject, the &quot;Building Projects with Native Code&quot; instructions will be required to continue working on your project.</p><p>Create React Native App configures your project to use the most recent React Native version that is supported by the Expo client app. The Expo client app usually gains support for a given React Native version about a week after the React Native version is released as stable. You can check <a href="https://github.com/react-community/create-react-native-app/blob/master/VERSIONS.md" target="_blank">this document</a> to find out what versions are supported.</p><p>If you&#x27;re integrating React Native into an existing project, you&#x27;ll want to skip Create React Native App and go directly to setting up the native build environment. Select &quot;Building Projects with Native Code&quot; above for instructions on configuring a native build environment for React Native.</p><span><block class="native mac windows linux ios android" />
</span><span><p>Follow these instructions if you need to build native code in your project. For example, if you are integrating React Native into an existing application, or if you "ejected" from <a href="docs/getting-started.html" onclick="display('guide', 'quickstart')">Create React Native App</a>, you'll need this section.</p>
@@ -173,15 +173,19 @@ choco install jdk8</div><p>If you have already installed Node on your system, ma
</span><p><img src="img/AndroidSDKManagerInstallsWindows.png" alt="Android SDK Manager - Installs"></p><span><block class="native mac windows linux android" />
</span><h4><a class="anchor" name="3-set-up-the-android-home-environment-variable"></a>3. Set up the ANDROID_HOME environment variable <a class="hash-link" href="docs/getting-started.html#3-set-up-the-android-home-environment-variable">#</a></h4><p>The React Native tools require some environment variables to be set up in order to build apps with native code.</p><span><block class="native mac android" />
</span><h4><a class="anchor" name="3-configure-the-android-home-environment-variable"></a>3. Configure the ANDROID_HOME environment variable <a class="hash-link" href="docs/getting-started.html#3-configure-the-android-home-environment-variable">#</a></h4><p>The React Native tools require some environment variables to be set up in order to build apps with native code.</p><span><block class="native mac linux android" />
</span><p>Add the following lines to your <code>~/.profile</code> (or equivalent) config file:</p><div class="prism language-javascript">export ANDROID_HOME<span class="token operator">=</span>$<span class="token punctuation">{</span>HOME<span class="token punctuation">}</span><span class="token operator">/</span>Library<span class="token operator">/</span>Android<span class="token operator">/</span>sdk
export PATH<span class="token operator">=</span>$<span class="token punctuation">{</span>PATH<span class="token punctuation">}</span><span class="token punctuation">:</span>$<span class="token punctuation">{</span>ANDROID_HOME<span class="token punctuation">}</span><span class="token operator">/</span>tools
export PATH<span class="token operator">=</span>$<span class="token punctuation">{</span>PATH<span class="token punctuation">}</span><span class="token punctuation">:</span>$<span class="token punctuation">{</span>ANDROID_HOME<span class="token punctuation">}</span><span class="token operator">/</span>platform<span class="token operator">-</span>tools</div><p>Type <code>source ~/.profile</code> to load the config into your current shell.</p><blockquote><p>Please make sure you export the correct path for <code>ANDROID_HOME</code>. If you installed the Android SDK using Homebrew, it would be located at <code>/usr/local/opt/android-sdk</code>. You can find the actual location of the SDK in the Android Studio &quot;Preferences&quot; dialog, under <strong>Appearance &amp; Behavior</strong><strong>System Settings</strong><strong>Android SDK</strong>.</p></blockquote><span><block class="native linux android" />
</span><p>Add the following lines to your <code>$HOME/.bash_profile</code> config file:</p><span><block class="native mac android" />
</span><p>Add the following lines to your <code>~/.profile</code> (or equivalent) config file:</p><div class="prism language-javascript">export ANDROID_HOME<span class="token operator">=</span>$<span class="token punctuation">{</span>HOME<span class="token punctuation">}</span><span class="token operator">/</span>Android<span class="token operator">/</span>Sdk
export PATH<span class="token operator">=</span>$<span class="token punctuation">{</span>PATH<span class="token punctuation">}</span><span class="token punctuation">:</span>$<span class="token punctuation">{</span>ANDROID_HOME<span class="token punctuation">}</span><span class="token operator">/</span>tools
export PATH<span class="token operator">=</span>$<span class="token punctuation">{</span>PATH<span class="token punctuation">}</span><span class="token punctuation">:</span>$<span class="token punctuation">{</span>ANDROID_HOME<span class="token punctuation">}</span><span class="token operator">/</span>platform<span class="token operator">-</span>tools</div><p>Type <code>. ~/.profile</code> to load the config into your current shell.</p><blockquote><p>Please make sure you export the correct path for <code>ANDROID_HOME</code> if you did not install the Android SDK using Android Studio. You can find the actual location of the SDK in the Android Studio &quot;Preferences&quot; dialog, under <strong>Appearance &amp; Behavior</strong><strong>System Settings</strong><strong>Android SDK</strong>.</p></blockquote><span><block class="native windows android" />
</span><div class="prism language-javascript">export ANDROID_HOME<span class="token operator">=</span>$HOME<span class="token operator">/</span>Library<span class="token operator">/</span>Android<span class="token operator">/</span>sdk
export PATH<span class="token operator">=</span>$PATH<span class="token punctuation">:</span>$ANDROID_HOME<span class="token operator">/</span>tools
export PATH<span class="token operator">=</span>$PATH<span class="token punctuation">:</span>$ANDROID_HOME<span class="token operator">/</span>platform<span class="token operator">-</span>tools</div><span><block class="native linux android" />
</span><div class="prism language-javascript">export ANDROID_HOME<span class="token operator">=</span>$HOME<span class="token operator">/</span>Android<span class="token operator">/</span>Sdk
export PATH<span class="token operator">=</span>$PATH<span class="token punctuation">:</span>$ANDROID_HOME<span class="token operator">/</span>tools
export PATH<span class="token operator">=</span>$PATH<span class="token punctuation">:</span>$ANDROID_HOME<span class="token operator">/</span>platform<span class="token operator">-</span>tools</div><span><block class="native mac linux android" />
</span><blockquote><p><code>.bash_profile</code> is specific to <code>bash</code>. If you&#x27;re using another shell, you will need to edit the appropriate shell-specific config file.</p></blockquote><p>Type <code>source $HOME/.bash_profile</code> to load the config into your current shell. Verify that ANDROID_HOME has been added to your path by running <code>echo $PATH</code>.</p><blockquote><p>Please make sure you use the correct Android SDK path. You can find the actual location of the SDK in the Android Studio &quot;Preferences&quot; dialog, under <strong>Appearance &amp; Behavior</strong><strong>System Settings</strong><strong>Android SDK</strong>.</p></blockquote><span><block class="native windows android" />
</span><p>Open the System pane under <strong>System and Security</strong> in the Control Panel, then click on <strong>Change settings...</strong>. Open the <strong>Advanced</strong> tab and click on <strong>Environment Variables...</strong>. Click on <strong>New...</strong> to create a new <code>ANDROID_HOME</code> user variable that points to the path to your Android SDK:</p><p><img src="img/AndroidEnvironmentVariableANDROID_HOME.png" alt="ANDROID_HOME Environment Variable"></p><p>The SDK is installed, by default, at the following location:</p><div class="prism language-javascript">c<span class="token punctuation">:</span>\Users\YOUR_USERNAME\AppData\Local\Android\Sdk</div><p>You can find the actual location of the SDK in the Android Studio &quot;Preferences&quot; dialog, under <strong>Appearance &amp; Behavior</strong><strong>System Settings</strong><strong>Android SDK</strong>.</p><p>Open a new Command Prompt window to ensure the new environment variable is loaded before proceeding to the next step.</p><span><block class="native linux android" />
@@ -192,7 +196,7 @@ changes in the filesystem. It is highly recommended you install it for better pe
</span><h2><a class="anchor" name="creating-a-new-application"></a>Creating a new application <a class="hash-link" href="docs/getting-started.html#creating-a-new-application">#</a></h2><p>Use the React Native command line interface to generate a new React Native project called &quot;AwesomeProject&quot;:</p><div class="prism language-javascript">react<span class="token operator">-</span>native init AwesomeProject</div><p>This is not necessary if you are integrating React Native into an existing application, if you &quot;ejected&quot; from Create React Native App, or if you&#x27;re adding Android support to an existing React Native project (see <a href="docs/platform-specific-code.html" target="_blank">Platform Specific Code</a>).</p><span><block class="native mac windows linux android" />
</span><h2><a class="anchor" name="preparing-the-android-device"></a>Preparing the Android device <a class="hash-link" href="docs/getting-started.html#preparing-the-android-device">#</a></h2><p>You will need an Android device to run your React Native Android app. This can be either a physical Android device, or more commonly, you can use an Android Virtual Device which allows you to emulate an Android device on your computer.</p><p>Either way, you will need to prepare the device to run Android apps for development.</p><h3><a class="anchor" name="using-a-physical-device"></a>Using a physical device <a class="hash-link" href="docs/getting-started.html#using-a-physical-device">#</a></h3><p>If you have a physical Android device, you can use it for development in place of an AVD by plugging it in to your computer using a USB cable and <a href="https://developer.android.com/training/basics/firstapp/running-app.html" target="_blank">enabling USB debugging</a>. You can then proceed to the next step.</p><h3><a class="anchor" name="using-a-virtual-device"></a>Using a virtual device <a class="hash-link" href="docs/getting-started.html#using-a-virtual-device">#</a></h3><p>You can see the list of available Android Virtual Devices (AVDs) by opening the &quot;AVD Manager&quot; from within Android Studio. Look for an icon that looks like this:</p><p><img src="img/react-native-tools-avd.png" alt="Android Studio AVD Manager"></p><p>If you have just installed Android Studio, you will likely need to <a href="https://developer.android.com/studio/run/managing-avds.html" target="_blank">create a new AVD</a>. Select &quot;Create Virtual Device...&quot;, then pick any Phone from the list and click &quot;Next&quot;.</p><span><block class="native windows android" />
</span><h2><a class="anchor" name="preparing-the-android-device"></a>Preparing the Android device <a class="hash-link" href="docs/getting-started.html#preparing-the-android-device">#</a></h2><p>You will need an Android device to run your React Native Android app. This can be either a physical Android device, or more commonly, you can use an Android Virtual Device which allows you to emulate an Android device on your computer.</p><p>Either way, you will need to prepare the device to run Android apps for development.</p><h3><a class="anchor" name="using-a-physical-device"></a>Using a physical device <a class="hash-link" href="docs/getting-started.html#using-a-physical-device">#</a></h3><p>If you have a physical Android device, you can use it for development in place of an AVD by plugging it in to your computer using a USB cable and following the instructions <a href="docs/running-on-device.html" target="_blank">here</a>.</p><h3><a class="anchor" name="using-a-virtual-device"></a>Using a virtual device <a class="hash-link" href="docs/getting-started.html#using-a-virtual-device">#</a></h3><p>You can see the list of available Android Virtual Devices (AVDs) by opening the &quot;AVD Manager&quot; from within Android Studio. Look for an icon that looks like this:</p><p><img src="img/react-native-tools-avd.png" alt="Android Studio AVD Manager"></p><p>If you have just installed Android Studio, you will likely need to <a href="https://developer.android.com/studio/run/managing-avds.html" target="_blank">create a new AVD</a>. Select &quot;Create Virtual Device...&quot;, then pick any Phone from the list and click &quot;Next&quot;.</p><span><block class="native windows android" />
</span><p><img src="img/CreateAVDWindows.png" alt="Android Studio AVD Manager"></p><span><block class="native mac android" />
@@ -209,7 +213,7 @@ changes in the filesystem. It is highly recommended you install it for better pe
</span><p>Click &quot;Next&quot; then &quot;Finish&quot; to create your AVD. At this point you should be able to click on the green triangle button next to your AVD to launch it, then proceed to the next step.</p><span><block class="native mac ios" />
</span><h2><a class="anchor" name="running-your-react-native-application"></a>Running your React Native application <a class="hash-link" href="docs/getting-started.html#running-your-react-native-application">#</a></h2><p>Run <code>react-native run-ios</code> inside your React Native project folder:</p><div class="prism language-javascript">cd AwesomeProject
react<span class="token operator">-</span>native run<span class="token operator">-</span>ios</div><p>You should see your new app running in the iOS Simulator shortly.</p><p><img src="img/iOSSuccess.png" alt="AwesomeProject on iOS"></p><p><code>react-native run-ios</code> is just one way to run your app. You can also run it directly from within Xcode or <a href="https://nuclide.io/" target="_blank">Nuclide</a>.</p><span><block class="native mac windows linux android" />
react<span class="token operator">-</span>native run<span class="token operator">-</span>ios</div><p>You should see your new app running in the iOS Simulator shortly.</p><p><img src="img/iOSSuccess.png" alt="AwesomeProject on iOS"></p><p><code>react-native run-ios</code> is just one way to run your app. You can also run it directly from within Xcode or <a href="https://nuclide.io/" target="_blank">Nuclide</a>.</p><blockquote><p>If you can&#x27;t get this to work, see the <a href="docs/troubleshooting.html#content" target="_blank">Troubleshooting</a> page.</p></blockquote><h3><a class="anchor" name="running-on-a-device"></a>Running on a device <a class="hash-link" href="docs/getting-started.html#running-on-a-device">#</a></h3><p>The above command will automatically run your app on the iOS Simulator by default. If you want to run the app on an actual physical iOS device, please follow the instructions <a href="docs/running-on-device.html" target="_blank">here</a>.</p><span><block class="native mac windows linux android" />
</span><h2><a class="anchor" name="running-your-react-native-application"></a>Running your React Native application <a class="hash-link" href="docs/getting-started.html#running-your-react-native-application">#</a></h2><p>Run <code>react-native run-android</code> inside your React Native project folder:</p><div class="prism language-javascript">cd AwesomeProject
react<span class="token operator">-</span>native run<span class="token operator">-</span>android</div><p>If everything is set up correctly, you should see your new app running in your Android emulator shortly.</p><span><block class="native mac android" />
@@ -218,29 +222,29 @@ react<span class="token operator">-</span>native run<span class="token operator"
</span><p><img src="img/AndroidSuccessWindows.png" alt="AwesomeProject on Android"></p><span><block class="native mac windows linux android" />
</span><p><code>react-native run-android</code> is just one way to run your app - you can also run it directly from within Android Studio or <a href="https://nuclide.io/" target="_blank">Nuclide</a>.</p><span><block class="native mac ios android" />
</span><p><code>react-native run-android</code> is just one way to run your app - you can also run it directly from within Android Studio or <a href="https://nuclide.io/" target="_blank">Nuclide</a>.</p><blockquote><p>If you can&#x27;t get this to work, see the <a href="docs/troubleshooting.html#content" target="_blank">Troubleshooting</a> page.</p></blockquote><span><block class="native mac ios android" />
</span><h3><a class="anchor" name="modifying-your-app"></a>Modifying your app <a class="hash-link" href="docs/getting-started.html#modifying-your-app">#</a></h3><p>Now that you have successfully run the app, let&#x27;s modify it.</p><span><block class="native mac ios" />
</span><ul><li>Open <code>index.ios.js</code> in your text editor of choice and edit some lines.</li><li>Hit <code>Command⌘ + R</code> in your iOS Simulator to reload the app and see your changes!</li></ul><span><block class="native mac android" />
</span><ul><li>Open <code>index.ios.js</code> in your text editor of choice and edit some lines.</li><li>Hit <code>R</code> in your iOS Simulator to reload the app and see your changes!</li></ul><span><block class="native mac android" />
</span><ul><li>Open <code>index.android.js</code> in your text editor of choice and edit some lines.</li><li>Press the <code>R</code> key twice or select <code>Reload</code> from the Developer Menu to see your changes!</li></ul><span><block class="native windows linux android" />
</span><ul><li>Open <code>index.android.js</code> in your text editor of choice and edit some lines.</li><li>Press the <code>R</code> key twice or select <code>Reload</code> from the Developer Menu (<code>⌘M</code>) to see your changes!</li></ul><span><block class="native windows linux android" />
</span><h3><a class="anchor" name="modifying-your-app"></a>Modifying your app <a class="hash-link" href="docs/getting-started.html#modifying-your-app">#</a></h3><p>Now that you have successfully run the app, let&#x27;s modify it.</p><ul><li>Open <code>index.android.js</code> in your text editor of choice and edit some lines.</li><li>Press the <code>R</code> key twice or select <code>Reload</code> from the Developer Menu to see your changes!</li></ul><span><block class="native mac ios android" />
</span><h3><a class="anchor" name="modifying-your-app"></a>Modifying your app <a class="hash-link" href="docs/getting-started.html#modifying-your-app">#</a></h3><p>Now that you have successfully run the app, let&#x27;s modify it.</p><ul><li>Open <code>index.android.js</code> in your text editor of choice and edit some lines.</li><li>Press the <code>R</code> key twice or select <code>Reload</code> from the Developer Menu (<code>⌘M</code>) to see your changes!</li></ul><span><block class="native mac ios android" />
</span><h3><a class="anchor" name="that-s-it"></a>That&#x27;s it! <a class="hash-link" href="docs/getting-started.html#that-s-it">#</a></h3><p>Congratulations! You&#x27;ve successfully run and modified your first React Native app.</p><span><center><img src="img/react-native-congratulations.png" width="150"></img></center>
</span><span><block class="native windows linux android" />
</span><h3><a class="anchor" name="that-s-it"></a>That&#x27;s it! <a class="hash-link" href="docs/getting-started.html#that-s-it">#</a></h3><p>Congratulations! You&#x27;ve successfully run and modified a React Native app.</p><span><center><img src="img/react-native-congratulations.png" width="150"></img></center>
</span><h3><a class="anchor" name="that-s-it"></a>That&#x27;s it! <a class="hash-link" href="docs/getting-started.html#that-s-it">#</a></h3><p>Congratulations! You&#x27;ve successfully run and modified your first React Native app.</p><span><center><img src="img/react-native-congratulations.png" width="150"></img></center>
</span><span><block class="native mac ios" />
</span><h2><a class="anchor" name="now-what"></a>Now What? <a class="hash-link" href="docs/getting-started.html#now-what">#</a></h2><ul><li><p>If you&#x27;re curious to learn more about React Native, continue on
to the <a href="docs/tutorial.html" target="_blank">Tutorial</a>.</p></li><li><p>If you can&#x27;t get this to work, see the <a href="docs/troubleshooting.html#content" target="_blank">Troubleshooting</a> page.</p></li><li><p>If you want to add this new React Native code to an existing application, check out the <a href="docs/integration-with-existing-apps.html" target="_blank">Integration guide</a>.</p></li></ul><span><block class="native windows linux mac android" />
</span><h2><a class="anchor" name="now-what"></a>Now what? <a class="hash-link" href="docs/getting-started.html#now-what">#</a></h2><ul><li><p>Turn on <a href="docs/debugging.html#reloading-javascript" target="_blank">Live Reload</a> in the Developer Menu. Your app will now reload automatically whenever you save any changes!</p></li><li><p>If you want to add this new React Native code to an existing application, check out the <a href="docs/integration-with-existing-apps.html" target="_blank">Integration guide</a>.</p></li></ul><p>If you&#x27;re curious to learn more about React Native, continue on
to the <a href="docs/tutorial.html" target="_blank">Tutorial</a>.</p><span><block class="native windows linux mac android" />
</span><h2><a class="anchor" name="now-what"></a>Now What? <a class="hash-link" href="docs/getting-started.html#now-what">#</a></h2><ul><li><p>If you&#x27;re curious to learn more about React Native, continue on
to the <a href="docs/tutorial.html" target="_blank">Tutorial</a>.</p></li><li><p>If you can&#x27;t get this to work, see the <a href="docs/troubleshooting.html#content" target="_blank">Troubleshooting</a> page.</p></li><li><p>If you want to add this new React Native code to an existing application, check out the <a href="docs/integration-with-existing-apps.html" target="_blank">Integration guide</a>.</p></li></ul><span><script>
</span><h2><a class="anchor" name="now-what"></a>Now what? <a class="hash-link" href="docs/getting-started.html#now-what">#</a></h2><ul><li><p>Turn on <a href="docs/debugging.html#reloading-javascript" target="_blank">Live Reload</a> in the Developer Menu. Your app will now reload automatically whenever you save any changes!</p></li><li><p>If you want to add this new React Native code to an existing application, check out the <a href="docs/integration-with-existing-apps.html" target="_blank">Integration guide</a>.</p></li></ul><p>If you&#x27;re curious to learn more about React Native, continue on
to the <a href="docs/tutorial.html" target="_blank">Tutorial</a>.</p><span><script>
// Convert <div>...<span><block /></span>...</div>
// Into <div>...<block />...</div>
var blocks = document.getElementsByTagName('block');
File diff suppressed because one or more lines are too long
Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB