mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Change forwarding modules to import from -fb
This is another, more direct fix for ReactPerf circular dependency
This commit is contained in:
@@ -14,6 +14,6 @@
|
||||
|
||||
const {
|
||||
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,
|
||||
} = require('ReactDOM');
|
||||
} = require('ReactDOM-fb');
|
||||
|
||||
module.exports = __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactBrowserEventEmitter;
|
||||
|
||||
@@ -14,6 +14,6 @@
|
||||
|
||||
const {
|
||||
Children,
|
||||
} = require('React');
|
||||
} = require('React-fb');
|
||||
|
||||
module.exports = Children;
|
||||
|
||||
@@ -14,6 +14,6 @@
|
||||
|
||||
const {
|
||||
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,
|
||||
} = require('React');
|
||||
} = require('React-fb');
|
||||
|
||||
module.exports = __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner;
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
const {
|
||||
createElement,
|
||||
} = require('React');
|
||||
} = require('React-fb');
|
||||
|
||||
module.exports = {
|
||||
createElement: createElement,
|
||||
|
||||
@@ -14,6 +14,6 @@
|
||||
|
||||
const {
|
||||
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,
|
||||
} = require('ReactDOM');
|
||||
} = require('ReactDOM-fb');
|
||||
|
||||
module.exports = __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactInputSelection;
|
||||
|
||||
@@ -14,6 +14,6 @@
|
||||
|
||||
const {
|
||||
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,
|
||||
} = require('React');
|
||||
} = require('React-fb');
|
||||
|
||||
module.exports = __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactInstanceMap;
|
||||
|
||||
@@ -14,6 +14,6 @@
|
||||
|
||||
const {
|
||||
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,
|
||||
} = require('ReactDOM');
|
||||
} = require('ReactDOM-fb');
|
||||
|
||||
module.exports = __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactPerf;
|
||||
|
||||
@@ -14,6 +14,6 @@
|
||||
|
||||
const {
|
||||
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,
|
||||
} = require('ReactDOM');
|
||||
} = require('ReactDOM-fb');
|
||||
|
||||
module.exports = __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactTestUtils;
|
||||
|
||||
@@ -14,6 +14,6 @@
|
||||
|
||||
const {
|
||||
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,
|
||||
} = require('ReactDOM');
|
||||
} = require('ReactDOM-fb');
|
||||
|
||||
module.exports = __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.SyntheticEvent;
|
||||
|
||||
@@ -14,6 +14,6 @@
|
||||
|
||||
const {
|
||||
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,
|
||||
} = require('React');
|
||||
} = require('React-fb');
|
||||
|
||||
module.exports = __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.flattenChildren;
|
||||
|
||||
@@ -14,6 +14,6 @@
|
||||
|
||||
const {
|
||||
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,
|
||||
} = require('React');
|
||||
} = require('React-fb');
|
||||
|
||||
module.exports = __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.getComponentName;
|
||||
|
||||
@@ -14,6 +14,6 @@
|
||||
|
||||
const {
|
||||
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,
|
||||
} = require('ReactDOM');
|
||||
} = require('ReactDOM-fb');
|
||||
|
||||
module.exports = __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.getEventCharCode;
|
||||
|
||||
@@ -14,6 +14,6 @@
|
||||
|
||||
const {
|
||||
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,
|
||||
} = require('ReactDOM');
|
||||
} = require('ReactDOM-fb');
|
||||
|
||||
module.exports = __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.getVendorPrefixedEventName;
|
||||
|
||||
@@ -14,6 +14,6 @@
|
||||
|
||||
const {
|
||||
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,
|
||||
} = require('ReactDOM');
|
||||
} = require('ReactDOM-fb');
|
||||
|
||||
module.exports = __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.isEventSupported;
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
*/
|
||||
'use strict';
|
||||
|
||||
var { Children } = require('React');
|
||||
var { Children } = require('React-fb');
|
||||
|
||||
var invariant = require('invariant');
|
||||
|
||||
|
||||
@@ -11,6 +11,6 @@
|
||||
|
||||
'use strict';
|
||||
|
||||
var ReactDOM = require('ReactDOM');
|
||||
var ReactDOM = require('ReactDOM-fb');
|
||||
|
||||
module.exports = ReactDOM.unstable_renderSubtreeIntoContainer;
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
'use strict';
|
||||
|
||||
var { Children } = require('React');
|
||||
var { Children } = require('React-fb');
|
||||
|
||||
/**
|
||||
* Slice children that are typically specified as `props.children`. This version
|
||||
|
||||
Reference in New Issue
Block a user