-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warning: Can't perform a React state update on an unmounted component #168
Comments
Hi @csepulv, could you create a small sample that produces the error on something like codesandbox.io? |
I tried to create a simple version to reproduce it, but I was unable to. In my tinkering, the error went away, but I have no idea why. I will close this. If I run into it again, and I can provide a sample that demonstrates the error, I will reopen/create a new issue. Sorry about that. |
Sorry to re-open this. I'm also seeing this. I have a messaging app, each message has a user's avatar next to it. The error occurs when the user deletes a message. Annoyingly, I've been unable to replicate it on codesandbox (https://codesandbox.io/s/inspiring-jackson-2nhew?file=/src/App.js) This is the error I see in the app: I know not being able to replicate it is no help whatsoever, but I wanted to record the fact that I was seeing it too. I'm confident it's something to do with my app, rather than the package, but if/when I do track it down I'll add it here in case others fall into the same problem. |
Hi @AndrewIsh, What version of React and |
Hi @JorgenEvens :
Thanks for looking into it. As I say, I'm pretty confident it's something to do with my implementation, but I'm bemused as to what it could be. In case it's any help, I have a
|
same problem here |
csepulv opened this issue on Jun 9, 2019 is it serious that it is still opened? |
@turi4200 May I point out that this issue was closed until Jun 22nd. And that since then no one has provided a working sample actually exhibiting the issue described, as I originally requested. I'm happy to look at this, but my free time also has its limits. If I need to also create the reproduction it will take longer... If you know what the actual issue is, I'm happy to review your PR. |
@JorgenEvens thanks for attention |
@turi4200 Thank you, that would greatly help things move forward! |
Hi @JorgenEvens @turi4200, any update? |
@waahabdev I've not been able to reproduce the issue until this day. Neither has anyone provided a project that actually exhibits the above error. Feel free to leave me a link to a codesandbox and I'll be happy to look into it. |
Unfortunately I am getting the same error, in the Chrome console, as described in Issue #112
I have a wrapper component that is pretty simple:
I am using version 3.6.0. The fix described in Issue #112 doesn't seem to be working in this case.
Any suggestions? (Thanks)
The text was updated successfully, but these errors were encountered: