react-native/docs
Josh Hargreaves 66abc86c9a Doc. Update For Module Dependency Injection
Summary:
Added details about how IOS Native Modules can be initialized & registered manually with custom initializers so that dependencies can be injected to said modules.

Please let me know if there is a more appropriate place to detail this in the documentation or this is in fact detailed elsewhere; I also believe we do not have documentation on how to do the equivalent on Android, however it is a bit more obvious as the automatic MACRO registration mechanism does not exist on Android and modules need to be initialized manually anyway. As I currently understand there isn't currently any documentation detailing this apart from comments in the source.

Please let me know if you would require any style changes (variable names etc), to be more en-keeping with the rest of the documentation.
Closes https://github.com/facebook/react-native/pull/8406

Differential Revision: D3843018

Pulled By: javache

fbshipit-source-id: 5f4001df32d1ddc00a9dacc4fc99b63b408f1536
2016-09-09 12:28:46 -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 Update example link to new link. 2016-08-08 10:28:27 -07:00
Colors.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
CommunicationIOS.md fix 'Integrating with Existing Apps guide ' url 2016-09-08 22:13:42 -07:00
Debugging.md Minor doc improvements in Debugging.md 2016-08-09 11:13:30 -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 Strip down asset data 2016-08-08 18:28:49 -07:00
IntegrationWithExistingApps.md Updated integration with existing apps for Android 2016-08-30 03:44:16 -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
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 Doc. Update For Module Dependency Injection 2016-09-09 12:28:46 -07:00
Navigation.md fix broken link 2016-07-26 21:43:46 -07:00
Networking.md Missing function tags 2016-08-18 11:58:39 -07:00
Performance.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
PixelRatio.md
PlatformSpecificInformation.md Update PlatformSpecificInformation.md 2016-08-08 04:58:30 -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 Update RunningOnDeviceIOS.md 2016-09-05 14:14:04 -07:00
RunningOnSimulatorIOS.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
SignedAPKAndroid.md docs(android): install release for android 2016-08-04 22:13:29 -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 Show an example of composition in the Text docs. 2016-08-18 22:13:38 -07:00
Timers.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
Troubleshooting.md Update docs to use correct import statement 2016-08-15 15:58:40 -07:00
Tutorial.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
Upgrading.md Update Upgrading.md 2016-08-05 13:43:35 -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 Fixed and enhanced the Navigators example 2016-09-09 04:43:49 -07:00