React state update [warning]
See original GitHub issueI have problem using WatermelonDB in react-native. When I delete an item using destroyPermanently(), warning caming…
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
Any body can help ?
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Can't perform a React state update on an unmounted ...
Warning: Can't perform a React state update on an unmounted component. Solution. You can declare let isMounted = true inside useEffect , which ......
Read more >React: Prevent state updates on unmounted components
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...
Read more >Avoid React state update warnings on unmounted components
React raising a warning when you try to perform a state update on an unmounted component. React setState is used to update the...
Read more >Can't perform a React state update on an unmounted ... - Reddit
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....
Read more >React state update on an unmounted component - debuggr.io
If you are a react developer, there is a good chance that you faced this warning at least once: Warning: Can't perform a...
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

thank you so much… you solved my problem…
thank you, let me try first.