mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-15 17:28:33 +08:00
Use arrays for module method data
Summary: public Use arrays instead of dictionaries for encoding module method information. This further reduces UIExplorer startup JSON from 16104 bytes to 14119 (12% reduction) Reviewed By: javache Differential Revision: D2570057 fb-gh-sync-id: 4a53a9ead4365a136e7caeb650375733e1c24c0e
This commit is contained in:
committed by
facebook-github-bot-8
parent
dad45aa8f2
commit
cae4761006
@@ -31,7 +31,6 @@ typedef NS_ENUM(NSUInteger, RCTNullability) {
|
||||
|
||||
@property (nonatomic, readonly) Class moduleClass;
|
||||
@property (nonatomic, readonly) SEL selector;
|
||||
@property (nonatomic, readonly) RCTFunctionType functionType;
|
||||
|
||||
- (instancetype)initWithObjCMethodName:(NSString *)objCMethodName
|
||||
JSMethodName:(NSString *)JSMethodName
|
||||
|
||||
Reference in New Issue
Block a user