Skip to content

[docs][examples] Remove create-react-app usages #45426

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

Merged
merged 38 commits into from
Apr 30, 2025

Conversation

CodeLeom
Copy link
Contributor

@CodeLeom CodeLeom commented Feb 26, 2025

This PR closes #45228

@zannager zannager added docs Improvements or additions to the documentation deprecation New deprecation message labels Feb 28, 2025
Copy link
Member

@DiegoAndai DiegoAndai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @CodeLeom, thanks for working on this!

@mapache-salvaje may I ask you to review this? It's about CRA: #45228

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why delete these?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was a duplicate, the file still exist

@mnajdova mnajdova changed the title Deprecated react removal [docs][examples] Remove create react app usages Mar 7, 2025
@mnajdova mnajdova added examples Relating to /examples and removed deprecation New deprecation message labels Mar 7, 2025
Copy link
Contributor Author

@CodeLeom CodeLeom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was a duplicate, the file still exist

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was a duplicate, the file still exist

Copy link
Contributor

@mapache-salvaje mapache-salvaje left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for taking this on @CodeLeom ! 🙌 This review covers the content of the docs pages that were changed. I'll follow up shortly once I've had more time to dig into this branch and confirm that all of the examples are working as intended.

@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged label Mar 20, 2025
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged label Mar 22, 2025
@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged label Mar 25, 2025
Copy link
Contributor

@mapache-salvaje mapache-salvaje left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @CodeLeom ! The examples you added all look good to me. Can you also remove the existing CRA examples from that same folder? material-ui-cra etc. We'll also need to remove them from the Example Projects page and replace them with our new ones. Once that's done this PR should close out the issue linked.

We will also need to update all of the Material UI examples to use v7 now that it's stable, but I think we can wait for a follow-up PR to take care of that so the scope of this one doesn't get too big.

@CodeLeom
Copy link
Contributor Author

Thanks @CodeLeom ! The examples you added all look good to me. Can you also remove the existing CRA examples from that same folder? material-ui-cra etc. We'll also need to remove them from the Example Projects page and replace them with our new ones. Once that's done this PR should close out the issue linked.

We will also need to update all of the Material UI examples to use v7 now that it's stable, but I think we can wait for a follow-up PR to take care of that so the scope of this one doesn't get too big.

Thank you, I will work on it. I will also make a follow-up PR for the v7 update

@CodeLeom CodeLeom requested a review from ZeeshanTamboli April 28, 2025 21:25
Copy link
Member

@ZeeshanTamboli ZeeshanTamboli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@CodeLeom Could you resolve the file conflicts?

Copy link
Member

@ZeeshanTamboli ZeeshanTamboli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some important changes that need to be done. Also, can you fix the CI failures?

CodeLeom and others added 3 commits April 29, 2025 13:58
Co-authored-by: Zeeshan Tamboli <[email protected]>
Signed-off-by: Ayodele Aransiola <[email protected]>
Co-authored-by: Zeeshan Tamboli <[email protected]>
Signed-off-by: Ayodele Aransiola <[email protected]>
Co-authored-by: Zeeshan Tamboli <[email protected]>
Signed-off-by: Ayodele Aransiola <[email protected]>
@CodeLeom
Copy link
Contributor Author

Left some important changes that need to be done. Also, can you fix the CI failures?

how can I fix the CI failures?

@ZeeshanTamboli
Copy link
Member

@CodeLeom I’ve made the expected changes — everything looks good to me now. Thanks for your contribution!

@Janpot Could you review, especially the updates to the Minimizing bundle size page?

@mapache-salvaje Mind taking a look as well?

@CodeLeom
Copy link
Contributor Author

Minimizing bundle size

Thank you so much for all the efforts

@Janpot
Copy link
Member

Janpot commented Apr 30, 2025

@Janpot Could you review, especially the updates to the Minimizing bundle size page?

I removed a redundant paragraph, removed the section about import boundaries (these are now enforced by our package structure) and added a section about auto-importing in vscode.

Great work all!

@ZeeshanTamboli ZeeshanTamboli merged commit 13fa2ac into mui:master Apr 30, 2025
24 checks passed
@mapache-salvaje
Copy link
Contributor

Nice job everybody, thanks so much for all of your work on this @CodeLeom !!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to the documentation examples Relating to /examples
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[docs] Deprecate create-react-app
8 participants