Files
react/packages/react/lib/ReactDOM.native.js
T
Sebastian Markbage 240dfae28c Add React Native Modules to module map + fix fbjs
Our module rewrite whitelist needs to ignore providesModule files
that are going to be required from the global React Native
environment.

We also need to add ReactDOM to providesModule since we removed it
from React Native.
2016-04-20 03:35:30 +01:00

17 lines
441 B
JavaScript

/**
* @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,
};