index.js 746 B

12345678910111213141516171819202122232425
  1. "use strict";
  2. exports.__esModule = true;
  3. var _exportNames = {
  4. batch: true
  5. };
  6. var _exports = require("./exports");
  7. Object.keys(_exports).forEach(function (key) {
  8. if (key === "default" || key === "__esModule") return;
  9. if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
  10. if (key in exports && exports[key] === _exports[key]) return;
  11. exports[key] = _exports[key];
  12. });
  13. var _reactBatchedUpdates = require("./utils/reactBatchedUpdates");
  14. exports.batch = _reactBatchedUpdates.unstable_batchedUpdates;
  15. var _batch = require("./utils/batch");
  16. // Enable batched updates in our subscriptions for use
  17. // with standard React renderers (ReactDOM, React Native)
  18. (0, _batch.setBatch)(_reactBatchedUpdates.unstable_batchedUpdates);