-
Notifications
You must be signed in to change notification settings - Fork 5
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
use setState instead of direct assignment #3
Conversation
👍 |
@Chevtek, do you have any ETA when you are able to merge the fix? |
thanks for the PR, unfortunately looks like component is dead :/ |
@karpikpl, @mynameistechno, @chevex |
Please do. |
Thanks you guys. Been going through some rough stuff for the last year and haven't had time to follow up with anything. I just merged this in and I'll publish it soon. Thanks for going the extra mile to get a fix out for everyone :) |
🤣 I have just published the fixed version 😆 |
Right, hence why I'm thanking you for getting a fix out despite my absence 😉 |
fixes #1
We are using this component in https://github.com/Kentico/cloud-sample-app-react and it does not look good to have warnings in the sample application.
I have just change what does the react see as a best practice - the state is updating asynchronously using
setState
method.