Skip to content

Conversation

@oliviertassinari
Copy link
Member

@oliviertassinari oliviertassinari commented Sep 18, 2025

The examples folder was deleted in #2105, but 1. the PR seems off topic to delete it, 2. I don't see a discussion related to it and 3. we still have code that assumes that examples exists (eslint, pnpm), so I conclude that it was a rebase conflict.

It's back now, apply #1885 back.

Side note 1. I don't quite understand why the example doesn't have:

Side note 2. I think #1885 (comment) is accurate, I think having example templates harms the DX for maintainers because it trains people (mind that if we execute perfectly, 80%+ of the PRs would come from the community, not us) to use the wrong path (the right path is to start from a demo, to only install the npm packages that you need, we can't scale with one npm package), but for new users, I find this useful to have something that they can easily play with. I could see growing to add more examples: Storybook, Tailwind CSS, etc.

@oliviertassinari oliviertassinari added type: regression A bug, but worse, it used to behave as expected. examples Relating to /examples. labels Sep 18, 2025
@pkg-pr-new
Copy link

pkg-pr-new bot commented Sep 18, 2025

vite-css-base-ui-example

pnpm add https://pkg.pr.new/mui/base-ui/@base-ui-components/react@2783
pnpm add https://pkg.pr.new/mui/base-ui/@base-ui-components/utils@2783

commit: f1ffe24

@mui-bot
Copy link

mui-bot commented Sep 18, 2025

Bundle size report

Bundle Parsed size Gzip size
@base-ui-components/react 0B(0.00%) 0B(0.00%)

Details of bundle changes

@netlify
Copy link

netlify bot commented Sep 18, 2025

Deploy Preview for base-ui ready!

Name Link
🔨 Latest commit f1ffe24
🔍 Latest deploy log https://app.netlify.com/projects/base-ui/deploys/68cc7f62dadfb90008977945
😎 Deploy Preview https://deploy-preview-2783--base-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Contributor

@atomiks atomiks left a comment

Choose a reason for hiding this comment

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

There was a merge issue in that PR or something as it displayed it as adding the entire examples folder as part of the changed files. From Michal's review I deleted it but it ended up deleting it from the main branch as well.

@michaldudak michaldudak merged commit 7484e2e into mui:master Sep 19, 2025
20 checks passed
@oliviertassinari oliviertassinari deleted the restore-examples branch September 19, 2025 08:18
@oliviertassinari oliviertassinari added the scope: all components Widespread work has an impact on almost all components. label Sep 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

examples Relating to /examples. scope: all components Widespread work has an impact on almost all components. type: regression A bug, but worse, it used to behave as expected.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants