-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Exclude references to this.state in setState callback #1610
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
Conversation
Addresses #1604 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems legit, thanks
Any updates on this? This bug is still present in 7.6.1 |
The bug is still present in 7.7.0 |
@SlaUA can you supply an example that reproduces the issue? I have not witnessed this |
Looks like I faced with cache... |
Still present in 7.10.0 when the callback calls a function which references
Can work around this by just passing this.state into doStuff: |
@Aequitas737 altho you shouldn't put arrow functions in class fields, that seems like it should work. Can you file a new issue? |
No description provided.