Skip to content

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

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

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
@zannager zannager requested a review from MBilalShafi February 13, 2025 10:55
Copy link

This pull request has been inactive for 30 days. Please remove the stale label or leave a comment to keep it open. Otherwise, it will be closed in 15 days.

@github-actions github-actions bot added the stale This PR has been inactive for more than 30 days. It will get closed after 90 days of inactivity. label Mar 25, 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! stale This PR has been inactive for more than 30 days. It will get closed after 90 days of inactivity.
Projects
None yet
4 participants