setState called on unmounted component
See original GitHub issueI gotten a error where MediaQuery
are trying to call setState
on a unmounted component.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:10 (3 by maintainers)
Top Results From Across the Web
Avoid Memory Leak With React SetState On An Unmounted ...
Specifically, calling setState() in an unmounted component means that your app is still holding a reference to the component after the component ......
Read more >React - setState() on unmounted component - Stack Overflow
This usually means you called setState() on an unmounted component. This is a no-op. Please check the code for the undefined component.
Read more >Prevent React setState on unmounted Component
Warning: Can't call setState (or forceUpdate) on an unmounted component. This is a no-op, but it indicates a memory leak in your application....
Read more >Prevent React setState on unmounted component - Martin Belev
Warning: Can't call setState (or forceUpdate) on an unmounted component. This is a no-op, but it indicates a memory leak in your application...
Read more >React: Stop checking if your component is mounted - Medium
Like most React developers, you have probably encountered at least once in your life the “setState warning”: Warning: Can't perform a React ...
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
@contra I got again access to a Mac and can confirm that 6.0.0 fixes the problem. Thanks! 💯
Should be fixed in 6.0.0