Remove `node_modules/react` from the list of discoverable haste modules
Summary: This removes `node_modules/react` from the list of directories that are used for haste module resolutions. Modules required from React are now imported with `require('react/lib/…')`. Reviewed By: astreet Differential Revision: D3509863 fbshipit-source-id: 32cd34e2b8496f0a6676dbe6bb1eacc18124c01e
This commit is contained in:
parent
bfd987cbc7
commit
ddeaf09a1c
|
@ -11,7 +11,7 @@
|
|||
*/
|
||||
'use strict';
|
||||
|
||||
var ReactPropTypes = require('ReactPropTypes');
|
||||
var ReactPropTypes = require('react/lib/ReactPropTypes');
|
||||
var RCTCameraRollManager = require('NativeModules').CameraRollManager;
|
||||
|
||||
var createStrictShapeTypeChecker = require('createStrictShapeTypeChecker');
|
||||
|
|
Loading…
Reference in New Issue