Svelte @svelte.dev · Dec 24

Day 24 — Svelte now handles `class` attributes with github.com/lukeed/clsx. Much more powerful than the `class:` directive, but since this is Svelte you still get dead code elimination of unused styles! 🎁 docs svelte.dev/docs/svelte/... 🎁 demo svelte.dev/playground/6...

132 likes 6 replies

?

Replies

Sandrico · Dec 24

Awesome work! 24 features in 24 days is rough but y’all got it done 💪🏾. Super excited to check them all out 💫.

@rimevel.bsky.social · Dec 24

This is incredibly useful! Ty and Merry Christmas 🎄

Rob Balfré · Dec 25

"Accept the inevitability of Tailwind" Never 🙉 Such great work. Thanks for the hard work @svelte.dev

Svelte · Dec 24

....and that's a wrap for this year. Thanks for following along, everyone! There's a bunch of stuff that we didn't quite manage to squeeze in this month, so keep an eye out in 2025 for more good things. Merry Christmas to all who celebrate!

EmaDev / IndieHacker · Dec 24

finally! I've been waiting for this news for 4 years and 19 days 🥰 github.com/sveltejs/sve...