Closed
Description
I recently updated [email protected]
. After doing so I noticed that after every code change HMR would cause a full page refresh do to an error.
I looked through the stack trace and the error comes from react-redux
.
Subscription.js:67 Uncaught (in promise) TypeError: this.subscribe is not a function
at Subscription.trySubscribe (Subscription.js:67)
at Subscription.addNestedSub (Subscription.js:53)
at Subscription.trySubscribe (Subscription.js:67)
at ProxyComponent.componentWillUpdate (connectAdvanced.js:246)
at ProxyComponent.componentWillUpdate (createPrototypeProxy.js:44)
at react.js:6605
at measureLifeCyclePerf (react.js:5971)
at ReactCompositeComponentWrapper._performComponentUpdate (react.js:6604)
at ReactCompositeComponentWrapper.updateComponent (react.js:6539)
at ReactCompositeComponentWrapper.receiveComponent (react.js:6441)
I reverted back to [email protected]
and the error went away and HMR started working correctly again.
software | version |
---|---|
react | 15.3.2 |
webpack | 2.1.0-beta.25 |
redux | 3.6.0 |
node | 6.7.0 |
npm | 3.10.3 |