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 e45d9ff commit 01fec0cCopy full SHA for 01fec0c
src/utils/combineReducers.js
@@ -105,16 +105,7 @@ export default function combineReducers(reducers) {
105
return newState;
106
});
107
108
- if ((
109
- // Node-like CommonJS environments (Browserify, Webpack)
110
- typeof process !== 'undefined' &&
111
- typeof process.env !== 'undefined' &&
112
- process.env.NODE_ENV !== 'production'
113
- ) ||
114
- // React Native
115
- typeof __DEV__ !== 'undefined' &&
116
- __DEV__ // eslint-disable-line no-undef
117
- ) {
+ if (process.env.NODE_ENV !== 'production') {
118
if (!stateShapeVerified) {
119
verifyStateShape(state, finalState);
120
stateShapeVerified = true;
0 commit comments