mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-12 22:29:41 +08:00
Simplified session management
Reviewed By: javache Differential Revision: D2355911 fb-gh-sync-id: 57748dd6e5fe2ab6954c23526c2f5e8b46fd526b
This commit is contained in:
committed by
facebook-github-bot-9
parent
12bec39da1
commit
d03d28684a
@@ -186,11 +186,11 @@ RCT_EXTERN BOOL RCTBridgeModuleClassIsRegistered(Class);
|
||||
*
|
||||
* If you need to access a module, you can do so as soon as the bridge has been
|
||||
* initialized, by calling `[bridge moduleForClass:]`. If you need to know when
|
||||
* an individual module has been instantiated, use the `RCTDidInitializeModule`
|
||||
* notification instead.
|
||||
* an individual module has been instantiated, add an observer for the
|
||||
* `RCTDidInitializeModuleNotification` instead.
|
||||
*/
|
||||
RCT_EXTERN NSString *const RCTDidCreateNativeModules
|
||||
__deprecated_msg("Use RCTDidInitializeModule to observe init of individual modules");
|
||||
__deprecated_msg("Use RCTDidInitializeModuleNotification to observe init of individual modules");
|
||||
|
||||
/**
|
||||
* Accessing the modules property causes all modules to be eagerly initialized,
|
||||
|
||||
Reference in New Issue
Block a user