We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 713401f commit c29642dCopy full SHA for c29642d
packages/react/lib/React.native.js
@@ -0,0 +1,5 @@
1
+'use strict';
2
+
3
+// TODO: Once we remove the DOM bits from React, this shim can go away.
4
5
+module.exports = require('./ReactIsomorphic');
packages/react/lib/ReactDOM.native.js
@@ -0,0 +1,12 @@
+var ReactUpdates = require('./ReactUpdates');
+// TODO: In React Native, ReactTestUtils depends on ./ReactDOM (for
6
+// renderIntoDocument, which should never be called) and Relay depends on
7
+// react-dom (for batching). Once those are fixed, nothing in RN should import
8
+// this module and this file can go away.
9
10
+module.exports = {
11
+ unstable_batchedUpdates: ReactUpdates.batchedUpdates,
12
+};
0 commit comments