Skip to content

[internal] Fix UMD examples React version#44706

Merged
DiegoAndai merged 2 commits intomui:v5.xfrom
DiegoAndai:fix-v5-umd-distribution
Dec 9, 2024
Merged

[internal] Fix UMD examples React version#44706
DiegoAndai merged 2 commits intomui:v5.xfrom
DiegoAndai:fix-v5-umd-distribution

Conversation

@DiegoAndai
Copy link
Member

@DiegoAndai DiegoAndai commented Dec 9, 2024

The UMD examples pointed to React's latest version, but React 19 removed their UMD builds. Because of this, once React 19 was stable, these examples (and the CI test, example) started failing.

This PR pins the React version of the example to 18.

@DiegoAndai DiegoAndai added internal Behind-the-scenes enhancement. Formerly called “core”. v5.x labels Dec 9, 2024
@DiegoAndai DiegoAndai self-assigned this Dec 9, 2024
@DiegoAndai
Copy link
Member Author

This PR is required to unblock all other PRs to the v5.x branch

@mui-bot
Copy link

mui-bot commented Dec 9, 2024

Netlify deploy preview

https://deploy-preview-44706--material-ui.netlify.app/

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against c35601e

@DiegoAndai DiegoAndai marked this pull request as ready for review December 9, 2024 19:43
@DiegoAndai DiegoAndai merged commit 43260ab into mui:v5.x Dec 9, 2024
@DiegoAndai DiegoAndai deleted the fix-v5-umd-distribution branch December 9, 2024 20:06
@DiegoAndai DiegoAndai changed the title [core] Fix UMD examples [core] Fix UMD examples React version Dec 19, 2024
@oliviertassinari oliviertassinari changed the title [core] Fix UMD examples React version [internal] Fix UMD examples React version Feb 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal Behind-the-scenes enhancement. Formerly called “core”. v5.x

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants