This matches the behavior of hiccup to allow multiple classes specified in one string. For example:
[:div {:class "foo bar baz"}]
I am aware that dommy already supports the special :classes keyword, but server-side hiccup does not, so if you want to write some code to be shared between client and server, this helps.
This matches the behavior of hiccup to allow multiple classes specified in one string. For example:
I am aware that dommy already supports the special :classes keyword, but server-side hiccup does not, so if you want to write some code to be shared between client and server, this helps.