Quantcast
Channel: Can't perform a React state update on an unmounted component. memory leak - Stack Overflow
Browsing latest articles
Browse All 2 View Live

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 Article


Can'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

Browsing latest articles
Browse All 2 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>