Open jasongitmail opened 11 months ago
I noticed that Svelte's conditional classes like class:selected={$foo === 'abc'} are not supported. Using this causes a build error.
class:selected={$foo === 'abc'}
I've worked around this pretty easily using: class={"foo bar" + (isSelected ? ' selected' : ' ')}
class={"foo bar" + (isSelected ? ' selected' : ' ')}
So maybe it's not worth supporting, but fyi.
Thanks for building this!
I noticed that Svelte's conditional classes like
class:selected={$foo === 'abc'}
are not supported. Using this causes a build error.I've worked around this pretty easily using:
class={"foo bar" + (isSelected ? ' selected' : ' ')}
So maybe it's not worth supporting, but fyi.
Thanks for building this!