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

replace custom class:list implementation with clsx #3935

Closed
wants to merge 1 commit into from

Conversation

FredKSchott
Copy link
Member

Changes

Testing

  • Covered by existing tests.

Docs

  • Brings code closer to current docs.

@changeset-bot
Copy link

changeset-bot bot commented Jul 15, 2022

🦋 Changeset detected

Latest commit: ee1beb5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 9 packages
Name Type
astro Patch
@e2e/astro-component Patch
@e2e/lit-component Patch
@e2e/preact-component Patch
@e2e/react-component Patch
@e2e/solid-component Patch
@e2e/svelte-component Patch
@e2e/e2e-tailwindcss Patch
@e2e/ts-resolution Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added the pkg: astro Related to the core `astro` package (scope) label Jul 15, 2022
@Princesseuh
Copy link
Member

Princesseuh commented Jul 15, 2022

In my opinion, docs should be updated to reflect this change, the current sentence is confusing if we're actually using clsx

This is inspired by lukeed’s popular clsx helper library, but built directly into Astro itself.

@FredKSchott
Copy link
Member Author

In my opinion, docs should be updated to reflect this change, the current sentence is confusing if we're actually using clsx

Agreed!

Grr, I just realized that clsx doesn't support Sets, while we do. I actually agree that Sets should be supported, so now I'm not sure what I want anymore :) Given that this isn't a simple drop-in I might just suggest abandoning this PR.

@bluwy bluwy deleted the clsx-replace branch October 8, 2024 06:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: astro Related to the core `astro` package (scope)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants