Skip to content

Conversation

@sai6855
Copy link
Contributor

@sai6855 sai6855 commented May 6, 2025

This PR simplifies the codebase by removing unnecessary uses of the clsx utility

@github-actions
Copy link

github-actions bot commented May 6, 2025

Thanks for adding a type label to the PR! 👍

@sai6855 sai6855 added internal Behind-the-scenes enhancement. Formerly called “core”. type: enhancement It’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature. labels May 6, 2025
@mui-bot
Copy link

mui-bot commented May 6, 2025

Deploy preview: https://deploy-preview-17690--material-ui-x.netlify.app/

Generated by 🚫 dangerJS against 5f57d21

@flaviendelangle flaviendelangle changed the title [core] Remove unnessary clsx usages [DataGrid] Remove unnessary clsx usages May 6, 2025
@oliviertassinari oliviertassinari added the scope: data grid Changes related to the data grid. label May 6, 2025
@oliviertassinari
Copy link
Member

oliviertassinari commented May 6, 2025

I have pushed another commit to cover the rest of the repository.

@sai6855 Can we do the same in Material UI? It seems that we have more dead code like this:

SCR-20250506-uidg

(Searching with clsx\([^,]*\))

@oliviertassinari oliviertassinari changed the title [DataGrid] Remove unnessary clsx usages [DataGrid] Remove unnessary clsx() usages May 6, 2025
@sai6855
Copy link
Contributor Author

sai6855 commented May 7, 2025

Can we do the same in Material UI?

Updated here -> mui/material-ui#46084, there are still few similar instances but those are in joy-ui package, since we are not relasing joy-ui anymore, i haven't updated that code

@oliviertassinari
Copy link
Member

@sai6855 Thanks. Yeah, agree, only Material UI needs to be updated.

@oliviertassinari oliviertassinari merged commit 4d231c8 into mui:master May 7, 2025
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal Behind-the-scenes enhancement. Formerly called “core”. performance scope: data grid Changes related to the data grid. type: enhancement It’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants