[docs][material-ui] Fix crashing of DraggableDialog demo#44811
[docs][material-ui] Fix crashing of DraggableDialog demo#44811aarongarciah merged 1 commit intomui:v5.xfrom
Conversation
Netlify deploy previewhttps://deploy-preview-44811--material-ui.netlify.app/ Bundle size report |
|
@aarongarciah do you have any insight on why |
|
@sai6855 it's probably related to the UMD build. @DiegoAndai pinned the UMD versions on the example being used in the The error is not the same though:
I'm clueless on why this started to fail now. |
|
Looking into it |
|
The reason is that after bumping React 19, we're trying to build the UMD files using React 19, which isn't supported. I'm working on a solution to rely on React 18 only for the UMD build process. |
|
Opened a PR to fix it: #44815 |
|
@sai6855 the fix has been merged, please re-run the CI |
f502a2a to
8f39c8b
Compare
fixes #44810
Logic taken from #44747 applied to v5.x branch
working preview: https://deploy-preview-44811--material-ui.netlify.app/material-ui/react-dialog/#draggable-dialog