We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0fed607 commit e2e14d2Copy full SHA for e2e14d2
src/index.js
@@ -11,7 +11,11 @@ import warning from './utils/warning'
11
*/
12
function isCrushed() {}
13
14
-if (isCrushed.name !== 'isCrushed' && process.env.NODE_ENV !== 'production') {
+if (
15
+ process.env.NODE_ENV !== 'production' &&
16
+ setInterval.name === 'setInterval' &&
17
+ isCrushed.name !== 'isCrushed'
18
+) {
19
warning(
20
'You are currently using minified code outside of NODE_ENV === \'production\'. ' +
21
'This means that you are running a slower development build of Redux. ' +
0 commit comments