Fork me on GitHub
#rum
<
2017-07-01
>
Niki10:07:56

@valyagolev just specify :key in element attributes

valyagolev14:07:04

i wanted something that would work in both cases, but i ended up not needing it anyway - thanks

valyagolev19:07:32

I have an (arbitrary and arbitrarily nested) hiccup-style structure, where some elements are of some special types. is there any way i can override sablono's rendering of them (without traversing the whole structure)? e.g. [:div #my-type{:key "value"} ] => [:div [:div {:class "my-type"} "my-type: value"]], for several types