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.
2 parents 374741d + e462fe1 commit a7dc0dbCopy full SHA for a7dc0db
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