Svelte 5.16 introduced the same syntax for class directives: https://svelte.dev/docs/svelte/class#Attributes-Objects-and-arrays
So everywhere we do this:
<div class={clsx([...])}></div>
change it to this
<div class={[...]}></div>
And then remove the clsx dependency
Svelte 5.16 introduced the same syntax for
classdirectives: https://svelte.dev/docs/svelte/class#Attributes-Objects-and-arraysSo everywhere we do this:
change it to this
And then remove the
clsxdependency