Skip to content
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

[core] Remove unused use client #38967

Merged
merged 6 commits into from
Oct 30, 2023
Merged

Conversation

oliviertassinari
Copy link
Member

@oliviertassinari oliviertassinari commented Sep 13, 2023

Test #38955 (comment) out.

As far as I can see it, it continues to work: https://stackblitz.com/edit/github-9lau57?file=package.json,src%2Fapp%2Flayout.tsx,src%2Fapp%2Fpage.tsx,next.config.js

Help with #34905. I think we need to remove "use client" from the index so we can have room to mix server and client components from our npm packages.

@oliviertassinari oliviertassinari added the core Infrastructure work going on behind the scenes label Sep 13, 2023
@mui-bot
Copy link

mui-bot commented Sep 13, 2023

Netlify deploy preview

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

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against 2ba6d61

@oliviertassinari
Copy link
Member Author

I have found a case where we need to remove the "use client": #39010.

@oliviertassinari
Copy link
Member Author

@mj12albert Are we good to move this forward?

@mj12albert
Copy link
Member

@mj12albert Are we good to move this forward?

@oliviertassinari 👍 I tried removing it from everything (in Base) but some components still have issues, going forward we can investigate the root cause on a component basis!

@mnajdova mnajdova merged commit 0d40384 into mui:master Oct 30, 2023
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Infrastructure work going on behind the scenes enhancement This is not a bug, nor a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants