diff --git a/src/integrations/react.js b/src/integrations/react.js index 6b1fd4c..672b3db 100644 --- a/src/integrations/react.js +++ b/src/integrations/react.js @@ -39,7 +39,7 @@ export function connect(mapStateToProps, actions) { return this.forceUpdate(); } }; - this.componentWillReceiveProps = p => { + this.UNSAFE_componentWillReceiveProps = p => { props = p; update(); };