react-native/React/Base
Nick Lockwood ae5de54f00 Reduced module config data
Summary: public

We're sending a lot of module config data when the app first starts, and much of this is redundant.

UIExplorer current sends 19061 bytes of module config JSON. This diff reduces that to 16104 (15% saving) by stripping modules that have no methods or constants, and removing method types unless method is async.

Reviewed By: tadeuzagallo, javache

Differential Revision: D2570010

fb-gh-sync-id: 8c0abbd1cdee3264b37a4f52e852008caaffb9c5
2015-10-22 05:53:26 -07:00
..
RCTAssert.h Disable RCTAssert completely in production builds 2015-10-08 08:26:20 -07:00
RCTAssert.m Disable RCTAssert completely in production builds 2015-10-08 08:26:20 -07:00
RCTBatchedBridge.m Reduced module config data 2015-10-22 05:53:26 -07:00
RCTBridge.h Remove isValid from RCTInvalidating 2015-08-14 01:57:18 -08:00
RCTBridge.m Small perf improvement to RCTPerfStats and RCTBridgeModuleNameForClass 2015-08-25 04:48:39 -08:00
RCTBridgeDelegate.h Use JSStringCreateWithUTF8CString and skip NSString decoding when loading the bundle 2015-10-16 08:11:25 -07:00
RCTBridgeMethod.h Prepare the bridge for C++ 2015-09-18 15:04:28 -07:00
RCTBridgeModule.h Prepare the bridge for C++ 2015-09-18 15:04:28 -07:00
RCTConvert.h Ran Convert > To Modern Objective C Syntax 2015-08-25 01:08:49 -08:00
RCTConvert.m Unify XCAsset handling logic 2015-10-12 04:15:27 -07:00
RCTDefines.h Implement asm trampoline rather forwardInvocation 2015-10-20 04:14:09 -07:00
RCTEventDispatcher.h Small perf improvement to RCTPerfStats and RCTBridgeModuleNameForClass 2015-08-25 04:48:39 -08:00
RCTEventDispatcher.m Pause JS DisplayLink if nothing to process. 2015-09-29 09:22:10 -07:00
RCTFPSGraph.h #1562 Rename 'tick' to 'onTick' to pass iTunes Connect validation. 2015-06-29 06:51:44 -08:00
RCTFPSGraph.m Ran Convert > To Modern Objective C Syntax 2015-08-25 01:08:49 -08:00
RCTFrameUpdate.h Pause JS DisplayLink if nothing to process. 2015-09-29 09:22:10 -07:00
RCTFrameUpdate.m Ran Convert > To Modern Objective C Syntax 2015-08-25 01:08:49 -08:00
RCTInvalidating.h Remove isValid from RCTInvalidating 2015-08-14 01:57:18 -08:00
RCTJSMethodRegistrar.h
RCTJavaScriptExecutor.h Use JSStringCreateWithUTF8CString and skip NSString decoding when loading the bundle 2015-10-16 08:11:25 -07:00
RCTJavaScriptLoader.h [ReactNative] Add RCTBridgeDelegate 2015-07-28 15:57:02 -08:00
RCTJavaScriptLoader.m Log bundle size. 2015-10-21 10:55:25 -07:00
RCTKeyCommands.h
RCTKeyCommands.m Ran Convert > To Modern Objective C Syntax 2015-08-25 01:08:49 -08:00
RCTKeyboardObserver.h Add keyboard-observing notifications 2015-08-25 03:49:13 -08:00
RCTKeyboardObserver.m Add KeyboardAvoidingView 2015-09-02 09:17:20 -08:00
RCTLog.h Disable RCTLog completely in production 2015-10-13 07:31:25 -07:00
RCTLog.m Disable RCTLog completely in production 2015-10-13 07:31:25 -07:00
RCTModuleData.h Reverted to pre-init of queues to fix UIExplorer tests. 2015-08-08 01:47:43 -08:00
RCTModuleData.m Reduced module config data 2015-10-22 05:53:26 -07:00
RCTModuleMap.h Unregistered modules will now only error when called, not on bridge init 2015-07-27 08:58:47 -08:00
RCTModuleMap.m Ran Convert > To Modern Objective C Syntax 2015-08-25 01:08:49 -08:00
RCTModuleMethod.h Prepare the bridge for C++ 2015-09-18 15:04:28 -07:00
RCTModuleMethod.m Remove retainArguments from RCTModuleMethod's invocation 2015-10-22 04:04:25 -07:00
RCTPerfStats.h
RCTPerfStats.m App Extension support 2015-09-22 10:46:26 -07:00
RCTPerformanceLogger.h Log bundle size. 2015-10-21 10:55:25 -07:00
RCTPerformanceLogger.m Log bundle size. 2015-10-21 10:55:25 -07:00
RCTRootView.h Avoid dispatch_async in RCTRootView when bridge has already started 2015-08-17 05:34:25 -07:00
RCTRootView.m Provide default loading view for React views in Wilde 2015-10-06 10:39:28 -07:00
RCTSparseArray.h
RCTSparseArray.m Ran Convert > To Modern Objective C Syntax 2015-08-25 01:08:49 -08:00
RCTTouchHandler.h
RCTTouchHandler.m End slider interaction when touches are cancelled 2015-09-25 11:42:32 -07:00
RCTURLRequestDelegate.h Refactored networking logic out into RCTDownloadTask 2015-07-23 04:00:31 -08:00
RCTURLRequestHandler.h [ReactNative] Refactor RCTDataManager to support pluggable data source modules (RCTURLRequestHandlers) 2015-06-09 12:27:06 -08:00
RCTUtils.h Unify XCAsset handling logic 2015-10-12 04:15:27 -07:00
RCTUtils.m Unify XCAsset handling logic 2015-10-12 04:15:27 -07:00