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 302f2b3 commit 020c91dCopy full SHA for 020c91d
src/components/createConnect.js
@@ -205,16 +205,7 @@ export default function createConnect(React) {
205
}
206
207
208
- if ((
209
- // Node-like CommonJS environments (Browserify, Webpack)
210
- typeof process !== 'undefined' &&
211
- typeof process.env !== 'undefined' &&
212
- process.env.NODE_ENV !== 'production'
213
- ) ||
214
- // React Native
215
- typeof __DEV__ !== 'undefined' &&
216
- __DEV__ // eslint-disable-line no-undef
217
- ) {
+ if (process.env.NODE_ENV !== 'production') {
218
Connect.prototype.componentWillUpdate = function componentWillUpdate() {
219
if (this.version === version) {
220
return;
0 commit comments