-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
[mui-utils][test] Remove usages of deprecated react-dom APIs #42780
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
[mui-utils][test] Remove usages of deprecated react-dom APIs #42780
Conversation
Netlify deploy previewhttps://deploy-preview-42780--material-ui.netlify.app/ Bundle size report |
0312f13 to
c16bd9f
Compare
c16bd9f to
21d1ff5
Compare
DiegoAndai
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Getting closer and closer to React 18.3 🎉
packages/mui-utils/src/elementAcceptingRef/elementAcceptingRef.test.tsx
Outdated
Show resolved
Hide resolved
packages/mui-utils/src/elementAcceptingRef/elementAcceptingRef.test.tsx
Outdated
Show resolved
Hide resolved
|
@DiegoAndai ready for the last pass |
|
Oops, one sec, I need to remove a spare |
|
Now is ready |
DiegoAndai
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
In preparation for #42047, we need to remove
react-domdeprecated APIs, namely,renderandunmountComponentAtNode. This PR replaces these APIs withcreateRenderer, our React Testing Library wrapper.