Skip to content
This repository has been archived by the owner on Feb 10, 2024. It is now read-only.

Evaluate class directive vs clsx #82

Open
MrGreenTea opened this issue Nov 18, 2023 · 0 comments
Open

Evaluate class directive vs clsx #82

MrGreenTea opened this issue Nov 18, 2023 · 0 comments
Labels
development This issue or pull request only changes things for developers

Comments

@MrGreenTea
Copy link
Contributor

I've changed to using clsx for dynamic classes. Svelte has the class directive built-in that supports dynamic class names too.

See https://svelte.dev/docs/element-directives#class-name

@MrGreenTea MrGreenTea added the development This issue or pull request only changes things for developers label Nov 18, 2023
@MrGreenTea MrGreenTea added this to the 1st Code cleanup milestone Dec 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
development This issue or pull request only changes things for developers
Projects
None yet
Development

No branches or pull requests

1 participant