Sort class attribute on components and custom elements in Astro#129
Sort class attribute on components and custom elements in Astro#129thecrypticace merged 5 commits intomainfrom
class attribute on components and custom elements in Astro#129Conversation
|
The original implementation didn't include support for sorting classes on components (maybe was early enough to not need it?). Do you see any problems with supporting this? |
Hello! Unlike Vue for example, it's not a built-in pattern in Astro to have a You also probably want to add In both cases, I believe it should be supported, definitely seems useful! |
Princesseuh
left a comment
There was a problem hiding this comment.
Approval from the Astro team!
class attribute on Astro componentsclass attribute on components and custom elements in Astro
…ndlabs#129) * Add support for sorting `class` attribute on Astro components * Update changelog * Simplify test * Add support for custom elements * Update changelog
Fixes #128