mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-22 03:27:35 +08:00
Added deferred module loading feature
Reviewed By: javache Differential Revision: D2717687 fb-gh-sync-id: 4c03c721c794a2e7ac67a0b20474129fde7f0a0d
This commit is contained in:
committed by
facebook-github-bot-7
parent
5775d9e1d0
commit
d138403c2e
@@ -14,6 +14,12 @@
|
||||
#import "RCTLog.h"
|
||||
#import "RCTUtils.h"
|
||||
|
||||
@interface RCTBridge (Private)
|
||||
|
||||
- (void)registerModuleForFrameUpdates:(RCTModuleData *)moduleData;
|
||||
|
||||
@end
|
||||
|
||||
@implementation RCTModuleData
|
||||
{
|
||||
NSString *_queueName;
|
||||
@@ -88,6 +94,7 @@ RCT_NOT_IMPLEMENTED(- (instancetype)init);
|
||||
"or provide your own setter method.", self.name);
|
||||
}
|
||||
}
|
||||
[bridge registerModuleForFrameUpdates:self];
|
||||
}
|
||||
|
||||
- (NSString *)name
|
||||
|
||||
Reference in New Issue
Block a user