-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
TypeError: Cannot read properties of undefined (reading 'clearRect') #8071
Comments
In react you need to cleanup after yourself in a |
@ShaMan123 What's the correct way to cleanup after yourself? |
I wash my hands after the bathroom and before I eat, shower and brush teeth daily, floss... 🤣 I had to
|
Thank you, I finally learned how to take care of myself! |
I just noticed that we are already disposing the canvas as described, but are still getting this error. |
I will need more context, a repro... |
It has been, migrate to v6 |
Now that I have encountered this problem in the production environment, and it only occurs occasionally on a few devices, how can I solve it? |
it should have been fixed |
Hi, not sure if this is related but I'm currently encountering
TypeError: Cannot read properties of undefined (reading 'clearRect')
after updating the version to5.2.1
it fails on unit testing. but the application seems to be working correctly. 🤔I'm also updating from React 16 > React 17.
The text was updated successfully, but these errors were encountered: