Warning: Can only update a mounted or mounting component.
See original GitHub issueI’m getting this warning, referring to the file withNativeAd
. Perhaps it’s referring to the timeout presented in NativeAdsManager
within the method onAdsLoaded
. But I don’t really have a solution to help with.
Just leaving here the screenshot so can anyone track the warning.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:5 (1 by maintainers)
Top Results From Across the Web
setState(...): Can only update a mounted or ... - Stack Overflow
Warning : setState(...): Can only update a mounted or mounting component. This usually means you called setState() on an unmounted component.
Read more >How to resolve warning: Can only update a mounted ... - GitHub
Warning : Can only update a mounted or mounting component. This usually means you called setState, replaceState, or forceUpdate on ...
Read more >React: Stop checking if your component is mounted - Medium
Warning : Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in...
Read more >Prevent React setState on unmounted component - Martin Belev
Warning : Can only update a mounted or mounting component. This usually means you called setState, replaceState, or forceUpdate on an unmounted ...
Read more >[Solved]-setState(...): Can only update a mounted or mounting ...
[Solved]-setState(...): Can only update a mounted or mounting component. This usually means you called setState() on an unmounted component-Reactjs.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Has anyone found any solution to this?
i am currently having the save issue. sometimes i even cannot to the end of the list. its starts looping