-
-
Notifications
You must be signed in to change notification settings - Fork 8.5k
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
chore(v2): replace classnames with clsx #2895
Conversation
…eplace-classnames-with-clsx
Deploy preview for docusaurus-2 ready! Built with commit 4011037 |
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.
The problem with this is that most users manually installed classnames
will now be shipping 2 versions of classname manipulation libraries because they included it in website
. A very good example is our own v2 website.
Yes, that’s true, but we can mention about it in release notes. We will have many new users who will no longer use |
This is also kinda a breaking change for those who rely on |
@fanny please take note of the change here for the bootstrap theme. |
Motivation
About clsx:
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
Preview.
All chunks size (parsed) for website v2.
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/facebook/docusaurus, and link to your PR here.)