mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-28 22:46:52 +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
@@ -54,6 +54,7 @@ typedef BOOL (^RCTArgumentBlock)(RCTBridge *, NSUInteger, id);
|
||||
}
|
||||
|
||||
@synthesize JSMethodName = _JSMethodName;
|
||||
@synthesize functionType = _functionType;
|
||||
|
||||
static void RCTLogArgumentError(RCTModuleMethod *method, NSUInteger index,
|
||||
id valueOrType, const char *issue)
|
||||
|
||||
Reference in New Issue
Block a user