We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 374741d commit e462fe1Copy full SHA for e462fe1
lib/environment/Environment.js
@@ -1,7 +1,7 @@
1
"use strict";
2
3
// batchedUpdates is now exposed in 0.12
4
-var batchedUpdates = require('react').batchedUpdates || require('react/lib/ReactUpdates').batchedUpdates;
+var batchedUpdates = require("react-dom").unstable_batchedUpdates || require('react').batchedUpdates || require('react/lib/ReactUpdates').batchedUpdates;
5
6
/**
7
* Base abstract class for a routing environment.
0 commit comments