You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My take is that adding join(" ") at the end isn't too much overhead. It probably doesn't worth the complexity of introducing the special handling of class property.
Hi !
I'm currently working with your excellent library and Bulma CSS.
As Bulma is based on CSS classes, it can require many values in the class property.
A simple example here, with a tag color depending on a flag:
To prevent repeating the constant values, we can use an array and the join function:
But I like VanJS because it allows to write components in pure JS in a declarative way. A bit more of syntactic sugar can't hurt !
Allowing Array values by joining can do the job:
What about that ?
The text was updated successfully, but these errors were encountered: