react-native/Libraries/ReactNative
James Ide 6ec4d65aec Set up the RN JS environment before requiring other modules
Summary: Set up the polyfills for console and process before initializing other modules. Some modules do work (e.g. call `invariant`) when they are first required, so requiring the DefaultInjection module at the beginning ensures we have a consistent JS environment.
Closes https://github.com/facebook/react-native/pull/3526

Reviewed By: spicyj

Differential Revision: D2560340

Pulled By: frantic

fb-gh-sync-id: 44c743e3212ff1dcdbe0169041dfd3ea8f1a54f7
2015-10-22 15:48:28 -07:00
..
__benchmarks__ Add List of Common Cases to AttributePayload Benchmark 2015-10-09 14:31:23 -07:00
__tests__ Refactor Attribute Processing (Step 3) 2015-10-06 15:36:32 -07:00
React.js [ReactNative] clean lint in all of Libraries/ 2015-05-19 13:47:04 -08:00
ReactNative.js Set up the RN JS environment before requiring other modules 2015-10-22 15:48:28 -07:00
ReactNativeAttributePayload.js Refactor Attribute Processing (Step 3) 2015-10-06 15:36:32 -07:00
ReactNativeBaseComponent.js Refactor Attribute Processing (Step 2) 2015-10-06 10:28:35 -07:00
ReactNativeBaseComponentEnvironment.js [ReactNative] Rename ReactIOS JS module (and relatives) to ReactNative. 2015-05-13 13:24:35 -07:00
ReactNativeDOMIDOperations.js [ReactNative] clean lint in all of Libraries/ 2015-05-19 13:47:04 -08:00
ReactNativeDefaultInjection.js [ReactNative] Update core RN modules to work with React 0.14-beta1 2015-07-23 18:07:59 -08:00
ReactNativeEventEmitter.js [ReactNative] Fix ResponderEventPlugin after React upgrade 2015-07-29 02:47:55 -08:00
ReactNativeGlobalInteractionHandler.js [ReactNative] Rename ReactIOS JS module (and relatives) to ReactNative. 2015-05-13 13:24:35 -07:00
ReactNativeGlobalResponderHandler.js [ReactNative] Block native from becoming js responder 2015-06-19 16:30:15 -08:00
ReactNativeMount.js [ReactNative] Fix ResponderEventPlugin after React upgrade 2015-07-29 02:47:55 -08:00
ReactNativeReconcileTransaction.js [ReactNative] clean lint in all of Libraries/ 2015-05-19 13:47:04 -08:00
ReactNativeTagHandles.js [react_native] JS files from D2163804: [react_native] Add native root tag to createView calls 2015-06-18 05:26:41 -08:00
ReactNativeTextComponent.js [react_native] JS files from D2163804: [react_native] Add native root tag to createView calls 2015-06-18 05:26:41 -08:00
UIManagerStatTracker.js Revert g90f63f5c6fbbadd3ce6486e65d6fe6f967f56db6: [RN] add allTime vs. perBatch UIManager stats 2015-10-05 17:34:23 -07:00
createReactNativeComponentClass.js Refactor Attribute Processing (Step 1) 2015-10-06 10:28:27 -07:00
findNodeHandle.js [react-native] Add React.findNodeHandle 2015-05-13 13:24:37 -07:00