Memory leak in app
Closed this issue · 0 comments
ntgv93 commented
When going back to a previous url with the back button, the following error is logged:
react-dom.development.js:67 Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in a useEffect cleanup function.
A solution is needed to clean up async tasks performed the useEffect hook.