-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[react-chartjs-2 / React hooks] setState not working with 3.2.0 #806
Comments
@SamuelBageot Hi. Can you please provide full working reproduction of this issue (repo, codesansbox, ...)? |
Here a quick repo. |
@SamuelBageot Hi. Please try v3.3.0 |
@dangreen Hi. Nice work, everything seems to be ok. Thanks ! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I have some problems with react-chartjs-2 v3.2.0.
Consider this simple component which update the data :
const Dashboard = () => {
const [actualData, setActualData] = useState(allData.lineData);
};
When toggling with the select, the state doesn't update.
This issue occurs only in v3.2.0 BUT not with v3.0.5.
Best regards
The text was updated successfully, but these errors were encountered: