-
-
Notifications
You must be signed in to change notification settings - Fork 32.6k
[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
[docs][examples] Remove create-react-app usages #45426
Conversation
…ementation, replacing cra+tailwind+mui
…roperability doc page
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.
Hey @CodeLeom, thanks for working on this!
@mapache-salvaje may I ask you to review this? It's about CRA: #45228
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.
Why delete these?
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.
It was a duplicate, the file still exist
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.
It was a duplicate, the file still exist
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.
It was a duplicate, the file still exist
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.
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.
docs/data/material/guides/content-security-policy/content-security-policy.md
Outdated
Show resolved
Hide resolved
docs/data/material/guides/minimizing-bundle-size/minimizing-bundle-size.md
Outdated
Show resolved
Hide resolved
docs/data/material/guides/minimizing-bundle-size/minimizing-bundle-size.md
Outdated
Show resolved
Hide resolved
docs/data/material/guides/minimizing-bundle-size/minimizing-bundle-size.md
Outdated
Show resolved
Hide resolved
docs/data/material/guides/minimizing-bundle-size/minimizing-bundle-size.md
Outdated
Show resolved
Hide resolved
docs/data/material/guides/minimizing-bundle-size/minimizing-bundle-size.md
Outdated
Show resolved
Hide resolved
docs/data/material/integrations/interoperability/interoperability.md
Outdated
Show resolved
Hide resolved
Signed-off-by: Ayodele Aransiola <[email protected]>
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.
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 |
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.
@CodeLeom Could you resolve the file conflicts?
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.
Left some important changes that need to be done. Also, can you fix the CI failures?
docs/data/material/integrations/interoperability/interoperability.md
Outdated
Show resolved
Hide resolved
docs/data/material/guides/minimizing-bundle-size/minimizing-bundle-size.md
Outdated
Show resolved
Hide resolved
docs/data/material/integrations/interoperability/interoperability.md
Outdated
Show resolved
Hide resolved
docs/data/material/integrations/styled-components/styled-components.md
Outdated
Show resolved
Hide resolved
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]>
how can I fix the CI failures? |
@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? |
Thank you so much for all the efforts |
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! |
Nice job everybody, thanks so much for all of your work on this @CodeLeom !! |
This PR closes #45228