You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 10, 2022. It is now read-only.
Hello guys! I'm trying to use life cycle method to with google map library. It works on the map page, however I got this error when I use back button to go to other pages.
"index.js:1446 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 the componentWillUnmount method."
I tried on componentWillUnmount() methods to reset the state but does not work. May I know how to solve this? Thank you so much!
Here's my code:
Hello guys! I'm trying to use life cycle method to with google map library. It works on the map page, however I got this error when I use back button to go to other pages.
I tried on componentWillUnmount() methods to reset the state but does not work. May I know how to solve this? Thank you so much!
Here's my code:
The text was updated successfully, but these errors were encountered: