react-native/docs
Seph Soliman 0fdbfb029e Return statement missing for renderScene
Summary:
Explain the **motivation** for making this change. What existing problem does the pull request solve?
Example code for "Using Navigators" under "THE BASICS" does not work. renderScene needs to return the components, not just instantiate them.

**Test plan (required)**

I copy-paste and ran the code but did not get anything rendered. I added a return statement before the component which made it work.

Arrow functions need a return statement when supplying a { block of code }.
Closes https://github.com/facebook/react-native/pull/9161

Differential Revision: D3663200

Pulled By: hramos

fbshipit-source-id: a8732dd1098de7c8ea915f459adb3403a8168f19
2016-08-03 11:28:59 -07:00
..
Accessibility.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
AndroidBuildingFromSource.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
AndroidUIPerformance.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
Animations.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
Colors.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
CommunicationIOS.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
Debugging.md Add debugging with Stetho instructions #934 2016-07-19 02:13:27 -07:00
DirectManipulation.md Fix link broken. 2016-07-14 15:58:36 -07:00
GestureResponderSystem.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
GettingStarted.md A fix for npmlog error 2016-07-24 18:43:27 -07:00
HandlingTextInput.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
HandlingTouches.md Fix broken links in Handling Touches documentation 2016-07-21 14:58:31 -07:00
HeightAndWidth.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
Images.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
IntegrationWithExistingApps.md Update doc IntegrationWithExistingApps doc: Add activity theme 2016-07-29 14:28:41 -07:00
IssueGuidelines.md Add instruction on how to have access to the bot in IssueGuidelines.md 2016-05-05 08:46:54 -07:00
JavaScriptEnvironment.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
LayoutWithFlexbox.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
LinkingLibraries.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
MoreResources.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
MoviesExample.json Fix typo and add comments to the example app 2015-03-27 20:44:20 +00:00
NativeComponentsAndroid.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
NativeComponentsIOS.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
NativeModulesAndroid.md update doc for android MainApplication.java 2016-07-19 04:43:25 -07:00
NativeModulesIOS.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
Navigation.md fix broken link 2016-07-26 21:43:46 -07:00
Networking.md async/await is not part of ES7 2016-07-14 10:13:35 -07:00
Performance.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
PixelRatio.md Move around the docs a bit 2015-03-25 11:52:29 -07:00
PlatformSpecificInformation.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
Props.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
PullRequestGuidelines.md move templates to .github folder 2016-06-13 07:43:28 -07:00
RunningOnDeviceAndroid.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
RunningOnDeviceIOS.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
RunningOnSimulatorIOS.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
SignedAPKAndroid.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
State.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
Style.md Small typo s/they/the/ 2016-07-15 13:58:39 -07:00
Testing.md Update test guide to refer to the Jest React-Native tutorial 2016-07-27 03:43:32 -07:00
Text.md Update Text Component 2016-06-28 07:43:21 -07:00
Timers.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
Troubleshooting.md Move everything out of Known Issues and into more appropriate locations. 2016-06-23 14:13:37 -07:00
Tutorial.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
Upgrading.md Docs update - Direct user to changelog for manual steps of version 2016-07-29 08:43:34 -07:00
UsingAListView.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
UsingAScrollView.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
UsingNavigators.md Return statement missing for renderScene 2016-08-03 11:28:59 -07:00