material-ui icon indicating copy to clipboard operation
material-ui copied to clipboard

[examples] Freeze examples dependency range

Open oliviertassinari opened this issue 1 year ago • 2 comments

Make sure we can continue to easily run the examples on v5 once we release v6 as stable. This can help spot regressions.

oliviertassinari avatar Aug 25 '24 18:08 oliviertassinari

To addon this, I think the README of the examples should be updated to point to v5.x too. For example:

diff --git a/examples/material-ui-cra-ts/README.md b/examples/material-ui-cra-ts/README.md
index dfd9da114d..dbb9c7cdbb 100644
--- a/examples/material-ui-cra-ts/README.md
+++ b/examples/material-ui-cra-ts/README.md
@@ -7,7 +7,7 @@ Download the example [or clone the repo](https://github.com/mui/material-ui):
 <!-- #default-branch-switch -->

 
 ## The idea behind the example
 
 This example demonstrates how you can use Material UI with [Create React App](https://github.com/facebookincubator/create-react-app) in [TypeScript](https://github.com/Microsoft/TypeScript).
 It includes `@mui/material` and its peer dependencies, including [Emotion](https://emotion.sh/docs/introduction), the default style engine in Material UI v6.
-If you prefer, you can [use styled-components instead](https://mui.com/material-ui/integrations/interoperability/#styled-components).
+If you prefer, you can [use styled-components instead](https://v5.mui.com/material-ui/integrations/interoperability/#styled-components).
 
 ## What's next?
 
 <!-- #default-branch-switch -->
 
 You now have a working example project.
-You can head back to the documentation and continue by browsing the [templates](https://mui.com/material-ui/getting-started/templates/) section.
+You can head back to the documentation and continue by browsing the [templates](https://v5.mui.com/material-ui/getting-started/templates/) section.

siriwatknp avatar Aug 27 '24 06:08 siriwatknp