↧
Answer by Raj Gohel for Can't perform a React state update on an unmounted...
Try this sample code:- Look where I added _isMounted and follow the same in code class Page extends Component { _isMounted = false; state = { isLoading: true } componentDidMount() { this._isMounted =...
View ArticleCan't perform a React state update on an unmounted component. memory leak
I'm using react-native-router-flux and passing address to previous component. Value pass but i get warning Can't perform a React state update on an unmounted To fix, cancel all subscriptions and...
View Article