-
-
Notifications
You must be signed in to change notification settings - Fork 32.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
[utils] Fix "useId" & "useSyncExternalStore" imports to not be statically analyzable #43360
[utils] Fix "useId" & "useSyncExternalStore" imports to not be statically analyzable #43360
Conversation
Netlify deploy previewhttps://deploy-preview-43360--material-ui.netlify.app/ Bundle size reportDetails of bundle changes (Toolpad) |
hi @atomiks, can you please review this tiny pr? |
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.
I also switched from toString()
to the {...React}
technique in https://github.com/floating-ui/floating-ui and it has worked without issue.
Thank you @atomiks for reviewing the PR. @oliviertassinari / @zannager can we merge this PR ? |
1a38207
to
f28f154
Compare
I did some clean-up. I think it's ready to be merged? Looking at the useId inspired me to open mui/base-ui#616. |
fixes #41190