From 4885641a61fceaf2fa0f032442b113ea036f205a Mon Sep 17 00:00:00 2001 From: Egor Egorov Date: Sat, 22 Jun 2019 15:35:18 -0700 Subject: [PATCH] remove _isMounted it is not doing anything --- src/components/Provider.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/components/Provider.js b/src/components/Provider.js index 9586b5f73..6b3e46ba2 100644 --- a/src/components/Provider.js +++ b/src/components/Provider.js @@ -22,8 +22,6 @@ class Provider extends Component { } componentDidMount() { - this._isMounted = true - this.state.subscription.trySubscribe() if (this.previousState !== this.props.store.getState()) { @@ -35,8 +33,6 @@ class Provider extends Component { if (this.unsubscribe) this.unsubscribe() this.state.subscription.tryUnsubscribe() - - this._isMounted = false } componentDidUpdate(prevProps) {