-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Replace classnames with clsx #1236
Conversation
If there is a problem with classnames wouldn't it make WAY more sense to PR to classnames instead of trying to boil the ocean in the react ecosystem to switch packages? |
It would be good. The problem is that classnames package is stuck. So I just started migrating all packages to clsx. material-ui, material-ui-pickers and react-virtualzied are already migrated. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Reactivate. |
classnames package still is not active with this topic. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Keep it please |
@jquense If you ok to go with clsx I can help to migrate all your packages. Just give me a list of them. |
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.
sure
A few points - more performant - smaller without iife - esm support without hacky conversion to commonjs with module wrapper Refs https://unpkg.com/classnames@2.2.6/index.js, https://twitter.com/MaterialUI/status/1092928715804299264
A few points
Refs https://unpkg.com/classnames@2.2.6/index.js, https://twitter.com/MaterialUI/status/1092928715804299264