From aa41dfbcf7ae8ed204219099a0031e5bbe2eb4f5 Mon Sep 17 00:00:00 2001 From: Michael Weibel Date: Wed, 19 Oct 2016 17:44:30 -0700 Subject: [PATCH] Fix typo Summary: **Motivation:** Fixing a typo Closes https://github.com/facebook/react-native/pull/10446 Differential Revision: D4048865 Pulled By: lacker fbshipit-source-id: 1ba55f61f50e656cd110291c658a034535040895 --- docs/NativeModulesIOS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/NativeModulesIOS.md b/docs/NativeModulesIOS.md index e36b3a13f37..85f899d5936 100644 --- a/docs/NativeModulesIOS.md +++ b/docs/NativeModulesIOS.md @@ -257,7 +257,7 @@ RCT_EXPORT_METHOD(doSomethingExpensive:(NSString *)param callback:(RCTResponseSe > > The `methodQueue` method will be called once when the module is initialized, and then retained by the bridge, so there is no need to retain the queue yourself, unless you wish to make use of it within your module. However, if you wish to share the same queue between multiple modules then you will need to ensure that you retain and return the same queue instance for each of them; merely returning a queue of the same name for each won't work. -## Depedency Injection +## Dependency Injection The bridge initializes any registered RCTBridgeModules automatically, however you may wish to instantiate your own module instances (so you may inject dependencies, for example). You can do this by creating a class that implements the RTCBridgeDelegate Protocol, initializing an RTCBridge with the delegate as an argument and initialising a RTCRootView with the initialized bridge.