From ada60c4fd8dc8bb4e1259ce798979e520d236e59 Mon Sep 17 00:00:00 2001 From: Sebastian Markbage Date: Tue, 19 Apr 2016 01:34:02 +0100 Subject: [PATCH] Remove ReactDOM.native shim This is causing build errors. This should be in the downstream repo if anything. Relay has its own shim that should be preferred. --- packages/react/lib/ReactDOM.native.js | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 packages/react/lib/ReactDOM.native.js diff --git a/packages/react/lib/ReactDOM.native.js b/packages/react/lib/ReactDOM.native.js deleted file mode 100644 index 2c4b436a7e852..0000000000000 --- a/packages/react/lib/ReactDOM.native.js +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @providesModule ReactDOM - */ - -'use strict'; - -var ReactUpdates = require('./ReactUpdates'); - -// TODO: In React Native, ReactTestUtils depends on ./ReactDOM (for -// renderIntoDocument, which should never be called) and Relay depends on -// react-dom (for batching). Once those are fixed, nothing in RN should import -// this module and this file can go away. - -module.exports = { - unstable_batchedUpdates: ReactUpdates.batchedUpdates, -};