Skip to content
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

[data grid] cleanup observer in react ≤18 #16284

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

lauri865
Copy link
Contributor

@lauri865 lauri865 commented Jan 21, 2025

Should resolve #16277, although the core issue seems to be a different memory leak somewhere else. It seems to only affect development builds (likely some react related memory leak), but if we can help with that easily, then why not.

@mui-bot
Copy link

mui-bot commented Jan 21, 2025

Deploy preview: https://deploy-preview-16284--material-ui-x.netlify.app/

Generated by 🚫 dangerJS against d1763f0

@lauri865
Copy link
Contributor Author

Another case of animations making tests flaky. Not sure if there's an easy way to disable Transition component / set animation duration to 0 globally for better unit testing.

@lauri865 lauri865 changed the title [data grid] cleanup observer in react 18 [data grid] cleanup observer in react ≤18 Jan 21, 2025
@zannager zannager added the component: data grid This is the name of the generic UI component, not the React module! label Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: data grid This is the name of the generic UI component, not the React module!
Projects
None yet
4 participants